Ejemplo n.º 1
0
    public void UseComputer(GameObject computer)
    {
        computerController = computer.GetComponent <ComputerController>();

        if (!computerController.inZone)
        {
            return;
        }

        stateController.CanMove(false);
        stateController.SetActiveComputer(computer, true);
        cameraController.SetCamera(computerController.computerCamera, true);
        computerController.Use();
    }