// Use this for initialization
    void Start()
    {
        moveAnimCon   = GetComponent <Animator>();
        actionAnimCon = playerWeapon.GetComponent <Animator>();

        pCon   = GetComponent <pController>();
        pBDCon = GetComponent <pBreakDanceController>();

        Debug.Log("Action Anim Con: " + actionAnimCon.runtimeAnimatorController);
    }
Example #2
0
 private void Start()
 {
     pCon = GameObject.FindGameObjectWithTag("Player").GetComponent <pController>();
 }