Ejemplo n.º 1
0
    public override void OnInteraction(KeyCode inputKey)
    {
        base.OnInteraction(inputKey);
        switch (moveType)
        {
        case MoveType.Horizon:
            targetGear.ChangeHorizon(chageIndex);
            break;

        case MoveType.Verticle:
            targetGear.ChangeVerticle(chageIndex);
            break;

        case MoveType.Rotation:
            targetGear.ChangeRotation(chageIndex);
            break;
        }
    }