mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 11:45:09 +00:00
First Contact - slight change on Mission Control
This commit is contained in:
parent
949a23b4ae
commit
667234a855
2 changed files with 367 additions and 369 deletions
|
@ -230,14 +230,12 @@ namespace HeavenStudio.Games
|
||||||
sfxStrings[0] = "firstContact/success_1";
|
sfxStrings[0] = "firstContact/success_1";
|
||||||
sfxStrings[1] = "firstContact/success_2";
|
sfxStrings[1] = "firstContact/success_2";
|
||||||
animString = "alien_success";
|
animString = "alien_success";
|
||||||
Debug.Log("success");
|
|
||||||
}
|
}
|
||||||
else if (alienSpeakCount != translatorSpeakCount)
|
else if (alienSpeakCount != translatorSpeakCount)
|
||||||
{
|
{
|
||||||
sfxStrings[0] = "firstContact/failAlien_1";
|
sfxStrings[0] = "firstContact/failAlien_1";
|
||||||
sfxStrings[1] = "firstContact/failAlien_2";
|
sfxStrings[1] = "firstContact/failAlien_2";
|
||||||
animString = "alien_fail";
|
animString = "alien_fail";
|
||||||
Debug.Log("fail");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
string[] sounds = new string[] { sfxStrings[0], sfxStrings[0] };
|
string[] sounds = new string[] { sfxStrings[0], sfxStrings[0] };
|
||||||
|
@ -294,7 +292,7 @@ namespace HeavenStudio.Games
|
||||||
{
|
{
|
||||||
BeatAction.New(missionControl, new List<BeatAction.Action>()
|
BeatAction.New(missionControl, new List<BeatAction.Action>()
|
||||||
{
|
{
|
||||||
new BeatAction.Action(length + 1f, delegate { missionControl.SetActive(false); }),
|
new BeatAction.Action(length, delegate { missionControl.SetActive(false); }),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue