Ejemplo n.º 1
0
    // 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>();
	}
Ejemplo n.º 2
0
 // 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>();
 }