// Start is called before the first frame update void Start() { DialogueWithVanessaScript = gameObject.GetComponent <DialogueWithVanessa>(); //tellPlayerToFindTheBathroom = DialogueWithVanessaScript.TellPlayerToFindTheBathroom; VanessaSaysComeHere = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Vanessa/VanessaSaysComeHere"); }
void Start() { dialogueWithGroundskeeperScript = Groundskeeper.GetComponent <DialogueWithGroundskeeper>(); dialogueWithVanessaScript = Vanessa.GetComponent <DialogueWithVanessa>(); lockedWithNPC = false; UhhhhMaybeYouShouldWait = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Player/UhhhhMaybeYouShouldWait"); turulSFXScript = turul.GetComponent <PlayTurulSFX>(); TurulSingleSquawk = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/TurulSquawk"); LockComment = FMODUnity.RuntimeManager.CreateInstance("event:/Monologue/LockComment"); StillMausoleumComment = FMODUnity.RuntimeManager.CreateInstance("event:/Monologue/StillMausoleumComment"); StillClockComment = FMODUnity.RuntimeManager.CreateInstance("event:/Monologue/StillClockComment"); BlankGraveComment = FMODUnity.RuntimeManager.CreateInstance("event:/Monologue/GraveWithoutWordsComment"); TreeOfLifeComment = FMODUnity.RuntimeManager.CreateInstance("event:/Monologue/TreeOfLife"); BangingMausoleumComment = FMODUnity.RuntimeManager.CreateInstance("event:/Monologue/BangingMausoleumComment"); CreepyClockComment = FMODUnity.RuntimeManager.CreateInstance("event:/Monologue/CreepyClockComment"); FilledInGravesComment = FMODUnity.RuntimeManager.CreateInstance("event:/Monologue/FilledInGravesComment"); IgnoreTheGhostComment = FMODUnity.RuntimeManager.CreateInstance("event:/Monologue/IgnoreTheGhostComment"); obtainLighterFromCharlieComment = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Player/ObtainLighterComment"); obtainFanFromVanessaComment = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Player/ObtainFanComment"); IHaveAShovel = FMODUnity.RuntimeManager.CreateInstance("event:/ItemInteractions/IHaveAShovel"); lightScript = lights.GetComponent <ProgressiveLights>(); gateCloseScript = bathroomCutsceneHolder.GetComponent <TriggerGateClose>(); waterBottleSlotSelectItemScript = waterBottleSlot.GetComponent <SelectItem>(); inventoryScript = GetComponent <Inventory>(); inventoryItemManagerScript = InventoryCanvas.GetComponent <InventoryItemManager>(); LeaveForintOnTheGround = FMODUnity.RuntimeManager.CreateInstance("event:/Monologue/LeaveForintOnTheGround"); }
// Start is called before the first frame update void Start() { PlayerCamera = GameObject.Find("Main Camera"); LockViewScript = PlayerCamera.GetComponent <LockView>(); WheresTheBathroom = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Player/WheresTheBathroom"); DialogueWithVanessaScript = Vanessa.GetComponent <DialogueWithVanessa>(); }
private void Start() { DialogueWithVanessaScript = vanessa.GetComponent <DialogueWithVanessa>(); }