コード例 #1
0
 void Awake()
 {
     this.lookController = new LookAtIKController(
         this.GetComponent <CrossfadeLookAtIK>(),
         this.BodyWeightMax,
         this.DefaultDelay);
     this.bodyController = new BodyIKController(
         this.GetComponents <CrossfadeFBBIK>(),
         this.DefaultDelay);
     this.RegisterWithBodyController();
 }
コード例 #2
0
ファイル: IKController.cs プロジェクト: fgeraci/CS195-Core
 void Awake()
 {
    // Debug.Log("AWAKE");
     this.lookController = new LookAtIKController(
         this.GetComponent<CrossfadeLookAtIK>(),
         this.BodyWeightMax,
         this.DefaultDelay);
     this.bodyController = new BodyIKController(
         this.GetComponents<CrossfadeFBBIK>(),
         this.DefaultDelay);
     this.RegisterWithBodyController();
 }
コード例 #3
0
 void Awake()
 {
     this.lookController = new LookAtIKController(
         this.GetComponent<CrossfadeLookAtIK>(),
         this.BodyWeightMax,
         this.DefaultDelay);
     this.bodyController = new BodyIKController(
         this.GetComponents<CrossfadeFBBIK>(),
         this.DefaultDelay);
     this.pointController = new PointIKController(
         this.GetComponents<CrossfadeFBBIK>());
     this.buttonController = new ButtonIKController(
         this.GetComponents<CrossfadeFBBIK>());
     this.prayerController = new PrayingIKController(
         this.GetComponents<CrossfadeFBBIK>());
     this.deathController = new DeathIKController(
         this.GetComponents<CrossfadeFBBIK>());
     this.RegisterWithBodyController();
 }
コード例 #4
0
    void Awake()
    {
        this.lookController = new LookAtIKController(
            this.GetComponent<CrossfadeLookAtIK>(),
            this.BodyWeightMax,
            this.DefaultDelay);
        this.bodyController = new BodyIKController(
            this.GetComponents<CrossfadeFBBIK>(),
            this.DefaultDelay);
        this.punchController = new PunchIKController (
            this.GetComponents<CrossfadeFBBIK> ()
        );

        this.RegisterWithBodyController();
    }