Mercurial > hg > Members > kazuma > JungleforUnity
view Assets/Application/Scripts/Stage.cs @ 8:599bd8ddb72b
Create Item Tree and Create Stage.
author | Kazuma Takeda |
---|---|
date | Tue, 17 Jan 2017 19:57:19 +0900 |
parents | 2dd40b4412e4 |
children |
line wrap: on
line source
using UnityEngine; using System.Collections; public class Stage : MonoBehaviour { public Type Attribute; public enum Type { SAND, WOOD, GRASS }; public void SetPosition (Vector3 pos) { this.transform.position = pos; print ("Set (" + pos.x + ", " + pos.y + ", " + pos.z + ")"); } public void Delete() { Destroy (this.gameObject); } }