void Awake() { instance = this; animator = transform.Find("SK_Snow").GetComponent <Animator>(); animator.applyRootMotion = false; animator.SetLayerWeight(1, 0); animator.SetLayerWeight(2, 1.0f); State = States.Move; }
void Awake() { instance = this; animator = transform.Find ("SK_Snow").GetComponent<Animator>(); animator.applyRootMotion = false; animator.SetLayerWeight (1, 0); animator.SetLayerWeight (2, 1.0f); State = States.Move; }