comparison Assets/Application/Scripts/Stage.cs @ 3:2dd40b4412e4

Create game base.
author Kazuma
date Mon, 07 Nov 2016 18:42:01 +0900
parents e5ef0342d00b
children
comparison
equal deleted inserted replaced
2:ca28bf83fc89 3:2dd40b4412e4
14 public void SetPosition (Vector3 pos) { 14 public void SetPosition (Vector3 pos) {
15 this.transform.position = pos; 15 this.transform.position = pos;
16 print ("Set (" + pos.x + ", " + pos.y + ", " + pos.z + ")"); 16 print ("Set (" + pos.x + ", " + pos.y + ", " + pos.z + ")");
17 } 17 }
18 18
19 public void Delete() {
20 Destroy (this.gameObject);
21 }
22
19 } 23 }