// Start is called before the first frame update void Start() { this.buffer1 = this.NewTransformArray(); this.buffer2 = this.NewTransformArray(); this.lean = this.GetComponent <ShadowLeanController>(); this.anim = this.GetComponent <ShadowAnimationController>(); this.weight = new Slider(4.0f); this.ControlledStartAll(); }
void Awake() { this.sWeight = new Slider(2.0f); this.aWeight = new Slider(2.0f); this.hWeight = new Slider(2.0f); this.rWeight = new Slider(2.0f); this.dWeight = new Slider(2.0f); this.sitting = this.GetComponent <ShadowSittingController>(); this.locomotion = this.GetComponent <ShadowLocomotionController>(); this.anim = this.GetComponent <ShadowAnimationController>(); this.headLook = this.GetComponent <ShadowHeadLookController>(); this.reach = this.GetComponent <ShadowReachController>(); this.ragdoll = this.GetComponent <ShadowRagdollController>(); }
void Awake() { this.sWeight = new Slider(2.0f); this.aWeight = new Slider(2.0f); this.hWeight = new Slider(2.0f); this.rWeight = new Slider(2.0f); this.dWeight = new Slider(2.0f); this.sitting = this.GetComponent<ShadowSittingController>(); this.locomotion = this.GetComponent<ShadowLocomotionController>(); this.anim = this.GetComponent<ShadowAnimationController>(); this.headLook = this.GetComponent<ShadowHeadLookController>(); this.reach = this.GetComponent<ShadowReachController>(); this.ragdoll = this.GetComponent<ShadowRagdollController>(); }
void Start() { // Allocate space for two buffers for storing and passing shadow poses this.buffer1 = this.NewTransformArray(); this.buffer2 = this.NewTransformArray(); // Get a reference to our lean ShadowController this.lean = this.GetComponent <ShadowLeanControllerCompleted>(); // Get a reference to our animation ShadowController this.anim = this.GetComponent <ShadowAnimationController>(); // Set the weight this.weight = new Slider(4.0f); // Call each ShadowController's ControlledStart() function this.ControlledStartAll(); }
void Start() { // Allocate space for two buffers for storing and passing shadow poses this.buffer1 = this.NewTransformArray(); this.buffer2 = this.NewTransformArray(); // Get a reference to our lean ShadowController this.lean = this.GetComponent<ShadowLeanControllerCompleted>(); // Get a reference to our animation ShadowController this.anim = this.GetComponent<ShadowAnimationController>(); // Set the weight this.weight = new Slider(4.0f); // Call each ShadowController's ControlledStart() function this.ControlledStartAll(); }