Ejemplo n.º 1
0
    public override void Enter(HandTypeBase o)
    {
        handController = o;
        if (activeObj)
            handController.SetActiveObject(activeObj);

        handController.HideHand();
    }
Ejemplo n.º 2
0
    public override void Enter(HandTypeBase o)
    {
        handController = o;
        if (activeObj)
            handController.SetActiveObject(activeObj);

        swingableObj.isHeld = true;
        handController.HideHand();
    }
Ejemplo n.º 3
0
    public override void Enter(HandTypeBase o)
    {
        handController = o;
        if (activeObj)
        {
            handController.SetActiveObject(activeObj);
        }

        handController.HideHand();
    }
    public override void Enter(HandTypeBase o)
    {
        handController = o;
        if (activeObj)
        {
            handController.SetActiveObject(activeObj);

            if (!activeObj.handIsVisible)
                handController.HideHand();
        }
    }
    public override void Enter(HandTypeBase o)
    {
        handController = o;
        if (activeObj)
        {
            handController.SetActiveObject(activeObj);
        }

        swingableObj.isHeld = true;
        handController.HideHand();
    }
 public override void UpdateTransform(HandTypeBase t)
 {
     if (!owner)
     {
         t.SetActiveObject(this);
         owner = t;
     }
     else
     {
         RotateSteeringWheel();
         isHeld = true;
     }
 }
Ejemplo n.º 7
0
 public override void UpdateTransform(HandTypeBase t)
 {
     if (!owner)
     {
         t.SetActiveObject(this);
         owner = t;
     }
     else
     {
         RotateSteeringWheel();
         isHeld = true;
     }
 }