Ejemplo n.º 1
0
 void Awake()
 {
     lookTarget.Disable();
     interactionSystem = GetComponent <InteractionSystem>();
     pickedUp          = false;
     nearItem          = false;
     destroyItems      = new Transform[2];
 }
Ejemplo n.º 2
0
    // Use this for initialization
    void Start()
    {
        aim.Disable();
        ik.Disable();
        look.Disable();

        ik.solver.OnPostUpdate += OnPostFBBIK;
    }
Ejemplo n.º 3
0
        void Start()
        {
            // Set mixing Transforms for all the aim poses
            foreach (AimPoser.Pose pose in aimPoser.poses)
            {
                animation[pose.name].AddMixingTransform(recursiveMixingTransform, true);
            }

            // Disable IK components to manage their updating order
            aim.Disable();
            lookAt.Disable();
        }
Ejemplo n.º 4
0
 void Start()
 {
     // Disable IK components to manage their updating order
     aim.Disable();
     lookAt.Disable();
 }