Example #1
0
 private void Start()
 {
     triggerHighlight     = GetComponentInParent <TriggerHighlight>();
     scenario             = GetComponent <AbstractFluteListenerScenario>();
     sequenceFound        = false;
     waitBufferAfterFound = 1;
     waitTime             = 0;
     scenarioWarned       = false;
 }
Example #2
0
 private void Start()
 {
     triggerHighlight          = GetComponent <TriggerHighlight>();
     parser                    = GetComponent <DialogParser>();
     voix                      = GetComponent <AudioSource>();
     dialogId                  = 0;
     lineId                    = 0;
     cursorId                  = 0;
     currentDialog             = null;
     textUI                    = null;
     endOfLineCursorImg        = null;
     showLineProgressively     = false;
     timeSinceLastChar         = 1 / GameController.GetInstance().dialogSpeed;
     waitingForNextLine        = false;
     endOfLineCursorFlashSpeed = 2;
     timeSinceLastCursorFlash  = 0;
     goTriggerAutomatically    = false;
 }
Example #3
0
 public void HighlightHex(HexHighlightTypes type)
 {
     TriggerHighlight.Invoke(type);
 }