Mercurial > hg > Members > kazuma > JungleforUnity
view Assets/Application/Scripts/Stage.cs @ 3:2dd40b4412e4
Create game base.
author | Kazuma |
---|---|
date | Mon, 07 Nov 2016 18:42:01 +0900 |
parents | e5ef0342d00b |
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); } }