Add node interactions

This commit is contained in:
Jan Groß
2021-06-12 14:18:38 +02:00
parent 927b1f2882
commit 4ad82fe684
4 changed files with 25 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ public class Switch : MonoBehaviour
if (Keyboard.current.eKey.wasPressedThisFrame)
{
gameManager.SetActiveCamera(1);
debugNode.SetActiveNode();
debugNode.SendMessage("SetActiveNode", debugNode.GetComponent<Node>());
}
}
}