// Use this for initialization void Start () { character = GameObject.FindWithTag ("Player").GetComponent<CharacterMovement> (); if (character == null) Debug.LogError ("Character with \"Player\" tag not found"); combo = GetComponent<DanceCombos>(); }
// Use this for initialization void Start() { character = GameObject.FindWithTag("Player").GetComponent <CharacterMovement> (); if (character == null) { Debug.LogError("Character with \"Player\" tag not found"); } combo = GetComponent <DanceCombos>(); }