Exemple #1
0
 // Use this for initialization
 void Start()
 {
     core = GameObject.FindGameObjectWithTag ("core").GetComponent<CubeAppear>();
 }
Exemple #2
0
 //public Color active = new Color();
 void Start()
 {
     core = GameObject.FindGameObjectWithTag ("core").GetComponent<CubeAppear>();
     cargoTxt = txt.GetComponent<TextCode>();
 }