view Assets/Application/Scripts/Stage.cs @ 0:e5ef0342d00b

First commit
author Kazuma
date Mon, 07 Nov 2016 00:39:49 +0900
parents
children 2dd40b4412e4
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 + ")");
	}

}