// Use this for initialization void Start() { anim = GetComponent <Animator> (); rb = GetComponent <Rigidbody2D> (); audio = GetComponent <AudioSource> (); gcs = GameObject.Find("game_control").GetComponent <Game_control_script> (); look = GetComponent <SpriteRenderer> (); }
// Use this for initialization void Start() { anim = GetComponent <Animator> (); gcs = GameObject.Find("game_control").GetComponent <Game_control_script> (); }