示例#1
0
    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>();
    }
示例#2
0
    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>();
    }