Exemplo n.º 1
0
 // Use this for initialization
 void Awake()
 {
     sounds       = GetComponents <AudioSource>();
     squirrel     = GameObject.Find("Squirrel").GetComponent <Squirrel>();
     squirrelRend = squirrel.GetComponent <SpriteRenderer>();
     gm           = GameObject.Find("GameMaster").GetComponent <GameMaster>();
     baseScale    = transform.localScale;
     state        = ST_HIDDEN;
 }