public void CloseRocketUI()
    {
        rocketPanel.SetActive(false);
        inspectingRocket = false;

        controller.enabled = true;
        cam.LockCursor();
        cam.camData.mouseSensitivity = 10f;

        amountToContribute = 0;
        amountText.text    = "+ " + amountToContribute;
        amountText.color   = Color.yellow;
    }
Example #2
0
 void ResetControlls()
 {
     controller.enabled = true;
     cam.LockCursor();
     cam.camData.mouseSensitivity = 10f;
 }