mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 03:35:10 +00:00
First Contact - Fixed bug for [lookAt]
This commit is contained in:
parent
2441d624dc
commit
167889d2e2
1 changed files with 3 additions and 1 deletions
|
@ -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<Param>()
|
||||
new GameAction("look at", delegate { FirstContact.instance.lookAtDirection(eventCaller.currentEntity.type, eventCaller.currentEntity.type); }, .5f, false, new List<Param>()
|
||||
{
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue