コード例 #1
0
 public override ControllState handleAnimation(BThirdPersonMotionSystem _BThirdPersonMotionSystem)
 {
     if(_BThirdPersonMotionSystem.stateTime < 0.5f){
         _BThirdPersonMotionSystem.CrossFade("start_fly");
     }
     else{
         _BThirdPersonMotionSystem.CrossFade("fly");
     }
     return this;
 }
コード例 #2
0
ファイル: Controller.cs プロジェクト: FabianSchempp/DUNDON
 protected void Initialize()
 {
     _BThirdPerson = gameObject.GetComponent<BThirdPerson>();
     _BThirdPersonMotionSystem = gameObject.GetComponent<BThirdPersonMotionSystem>();
     _BThirdPerson.controller = this;
     _BAudioPlayer = gameObject.GetComponent<BAudioPlayer>();
     material = renderer.material;
     setSlotsHand();
 }
コード例 #3
0
 public override ControllState handleAnimation(BThirdPersonMotionSystem _BThirdPersonMotionSystem)
 {
     return this;
 }
コード例 #4
0
 public override ControllState handleAnimation(BThirdPersonMotionSystem _BThirdPersonMotionSystem)
 {
     _BThirdPersonMotionSystem.Play("attack_sword_one_handed_b");
     return this;
 }
コード例 #5
0
 public override ControllState handleAnimation(BThirdPersonMotionSystem _BThirdPersonMotionSystem)
 {
     _BThirdPersonMotionSystem.CrossFade("stand_up_from_sit");
     return this;
 }
コード例 #6
0
 public override ControllState handleAnimation(BThirdPersonMotionSystem _BThirdPersonMotionSystem)
 {
     _BThirdPersonMotionSystem.CrossFade("jump");
     return this;
 }
コード例 #7
0
 public override ControllState handleAnimation(BThirdPersonMotionSystem _BThirdPersonMotionSystem)
 {
     _BThirdPersonMotionSystem.Play("get_hit");
     return this;
 }
コード例 #8
0
 public override ControllState handleAnimation(BThirdPersonMotionSystem _BThirdPersonMotionSystem)
 {
     _BThirdPersonMotionSystem.Loop("stand_up");
     return this;
 }
コード例 #9
0
ファイル: ControllState.cs プロジェクト: FabianSchempp/DUNDON
 public abstract ControllState handleAnimation(BThirdPersonMotionSystem _BThirdPersonMotionSystem);