Reworked camera logic
Added robot arm camera Added robot arm idle animation
This commit is contained in:
@@ -32,7 +32,9 @@ public class Switch : MonoBehaviour
|
||||
//Debug.Log("Switch is visible and in range");
|
||||
if (Keyboard.current.eKey.wasPressedThisFrame && !gameManager.activeNode)
|
||||
{
|
||||
gameManager.SetActiveCamera(1);
|
||||
gameManager.previousNode = debugNode;
|
||||
gameManager.activeNode = debugNode.gameObject;
|
||||
gameManager.SetActiveCamera(gameManager.networkCamera);
|
||||
debugNode.SendMessage("SetActiveNode", debugNode.GetComponent<Node>());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user