Пример #1
0
        public override void Enter()
        {
            var a = owner.owner.Owner.Animator;

            a.PlayInFixedTime("Dusbin_SW_ThrowWP");
            RuleEnd = new RuleAnimatorPhaseIn("Stand", a, a.GetLayerIndex("Normal"));
        }
Пример #2
0
 public void SetRule()
 {
     RuleComplete = new RuleTimeOver(0.3f);
     RuleEnd      = new RuleTimeOver(0.5f);
     RuleCast     = new RuleAnimatorPhaseIn("Stand", a, a.GetLayerIndex("Normal"));
 }
Пример #3
0
 public void SetRule()
 {
     RuleComplete = new RuleAnimatorPhaseIn("Dusbin_MW_SheldMode", a, a.GetLayerIndex("Normal"));
     RuleEnd      = new RuleMouseRightUnPress();
     RuleCast     = new RuleAnimatorPhaseIn("Stand", a, a.GetLayerIndex("Normal"));
 }
Пример #4
0
 public void SetRule()
 {
     RuleComplete = new RuleTrue();
     RuleEnd      = new RuleAnimatorPhaseIn("Stand", a, a.GetLayerIndex("Normal"));
     RuleCast     = new RuleAnimatorPhaseIn("Dusbin_MW_SheldAttackCom1", a, a.GetLayerIndex("Normal"));
 }