コード例 #1
0
        // OnStateEnter is called when a transition starts and the state machine starts to evaluate this state
        public override void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
        {
            base.OnStateEnter(animator, stateInfo, layerIndex);

            RoleController.SetAnimVisble(false);
            RoleController.SetDamageTargetEnable(false);
            RoleController.SetShadowEnable(false);
            RoleController.SetColliderEnable(false);
        }