// Use this for initialization void Start() { isHit = false; Player = GameObject.Find ("Player"); myPlayer = Player.GetComponent <player_arcade>(); //need to access the player //textCombo = GameObject.Find("text_combo").GetComponent<GUIText> (); //textPraise = GameObject.Find ("text_praise").GetComponent<GUIText> (); }
// Use this for initialization void Start() { targets = new ArrayList(); Player = GameObject.Find ("Player"); myPlayer = Player.GetComponent <player_arcade>(); //need to access the player }