Reworked camera logic

Added robot arm camera
Added robot arm idle animation
This commit is contained in:
Jan Groß
2021-06-12 21:35:11 +02:00
parent 02ca5fa574
commit 34b7152138
18 changed files with 1114 additions and 102 deletions

View File

@@ -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>());
}
}