Beispiel #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();
 }
Beispiel #2
0
 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();
 }
 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();
 }
    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();
    }