private void Start() { triggerHighlight = GetComponentInParent <TriggerHighlight>(); scenario = GetComponent <AbstractFluteListenerScenario>(); sequenceFound = false; waitBufferAfterFound = 1; waitTime = 0; scenarioWarned = false; }
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; }
public void HighlightHex(HexHighlightTypes type) { TriggerHighlight.Invoke(type); }