void Awake()
 {
     instance = this;
 }
示例#2
0
 // Use this for initialization
 void Start()
 {
     tower = transform.parent.GetComponent <TowerTest>();
 }