Ejemplo n.º 1
0
    private void Awake()
    {
        controls = new McControls();

        int characterCount = transform.childCount;

        characters = new McInput[characterCount];
        for (int i = 0; i < characterCount; i++)
        {
            characters[i] = transform.GetChild(i).GetComponent <McInput>();
        }
    }
Ejemplo n.º 2
0
 private void Awake()
 {
     controls = new McControls();
     ability  = this.GetComponent <IAbility>();
 }
Ejemplo n.º 3
0
 private void Awake()
 {
     controls = new McControls();
 }