Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     scCoin_Label = GameObject.Find("Coin_Label").GetComponent <Coin_Label>();
     scManager    = GameObject.Find("Manager(Clone)").GetComponent <Manager>();
     scFeverObj   = GameObject.Find("FeverCoinObj").GetComponent <FeverObj>();
     MyTransform  = transform;
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     transform.Translate(Random.Range(3.0f, -4.0f), Random.Range(3.0f, -3.0f), 0.0f);
     scCoin_Label = GameObject.Find("Coin_Label").GetComponent <Coin_Label>();
     MySprite     = transform.GetComponent <tk2dSprite>();
 }