Mercurial > hg > Members > kazuma > JungleforUnity
diff Assets/Application/Scripts/Item.cs @ 4:2878be4487ec
add Maping Code.
author | Kazuma |
---|---|
date | Tue, 08 Nov 2016 17:07:48 +0900 |
parents | |
children | 599bd8ddb72b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Assets/Application/Scripts/Item.cs Tue Nov 08 17:07:48 2016 +0900 @@ -0,0 +1,12 @@ +using UnityEngine; +using System.Collections; + +public class Item : MonoBehaviour { + + public Stage.Type Attribute; + public int ID = 0; + + public void SetHaveObject () { + Player.Instance.SetHaveObjectNumber (Attribute); + } +}