void StartIntro(MonoBehaviour comp) { dialog.SelectIntro(); HLG_UI.instance.ShowPlayerTextBubble(dialog.GetCurrentIntroLine()); lineTimer = lineDelay; currentState = State.INTRO; }
void StartIntro(MonoBehaviour comp) { InputControl.ClearControlMappings(); dialog.SelectIntro(); HLG_UI.instance.HideIntro(); HLG_UI.instance.ShowPlayerTextBubble(dialog.GetCurrentIntroLine()); HLG_UI.instance.UpdateAwkwardMultiLabel(1.0f); HLG_UI.instance.SetAwkwardMeterFill(0.0f); lineTimer = lineDelay; currentState = State.INTRO; crowdAudio.PlayOneShot(HLG_SoundManager.instance.menuSound); // iTween.ShakeScale (HLG_UI.instance.awkwardMeter, iTween.Hash ("amount", new Vector3(.10f, .10f, 0.0f), // "islocal", true, "time", .25f, "looptype", iTween.LoopType.pingPong)); }