From f726fb93ced03fb7eb2cba2b5fa28f8450abf77b Mon Sep 17 00:00:00 2001 From: Mytiaoga <32819046+Mytiaoga@users.noreply.github.com> Date: Mon, 11 Jul 2022 16:55:35 +0800 Subject: [PATCH] First Contact - Fixed bug for [lookAt] --- Assets/Scripts/Games/FirstContact/FirstContact.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/Games/FirstContact/FirstContact.cs b/Assets/Scripts/Games/FirstContact/FirstContact.cs index e2395ac6..573d22cd 100644 --- a/Assets/Scripts/Games/FirstContact/FirstContact.cs +++ b/Assets/Scripts/Games/FirstContact/FirstContact.cs @@ -22,7 +22,7 @@ namespace HeavenStudio.Games.Loaders { new Param("toggle", false, "Stay", "If it's the end of the remix/song") }), - new GameAction("look at", delegate { FirstContact.instance.lookAtDirection(eventCaller.currentEntity.type, eventCaller.currentEntity.type2); }, .5f, false, new List() + new GameAction("look at", delegate { FirstContact.instance.lookAtDirection(eventCaller.currentEntity.type, eventCaller.currentEntity.type); }, .5f, false, new List() { new Param("type", FirstContact.alienLookAt.lookAtTranslator, "alien look at what", "[Alien] will look at what"), new Param("type", FirstContact.translatorLookAt.lookAtAlien, "translator look at what", "[Translator] will look at what"), @@ -156,6 +156,8 @@ namespace HeavenStudio.Games public void lookAtDirection(int alienLookAt, int translatorLookAt) { + Debug.Log(alienLookAt); + Debug.Log(translatorLookAt); switch (alienLookAt) { case 0: