void Awake() { anim = GetComponentInChildren <Animator>(); anim.animatePhysics = true; p_Controls = transform.root.GetComponent <P_Controls>(); mat = Mrend.material; g_Check = FindObjectOfType <P_Ground_Check>(); animPhysics = FindObjectOfType <Physics_Animation_Blend>(); }
void Awake() { anim = GetComponentInChildren<Animator>(); anim.animatePhysics = true; p_Controls = transform.root.GetComponent<P_Controls>(); mat = Mrend.material; g_Check = FindObjectOfType<P_Ground_Check>(); animPhysics = FindObjectOfType<Physics_Animation_Blend>(); }