// Start is called before the first frame update void Start() { TurulSaysWaterSound = FMODUnity.RuntimeManager.CreateInstance("event:/ElementsPuzzle/water"); TurulSaysIgenSound = FMODUnity.RuntimeManager.CreateInstance("event:/ElementsPuzzle/igen"); FillingBasinSound = FMODUnity.RuntimeManager.CreateInstance("event:/ElementsPuzzle/fillingWaterBasin"); lockViewScript = playerCamera.GetComponent <LockView>(); }
private LockPresenter(PadlockModel padlockModel, LockView lockView) { _padlockModel = padlockModel; _lockView = lockView; SetSubscribe(); }
private void Awake() { PauseGameScript = GameObject.Find("GameController").GetComponent <PauseGame>(); InventoryScript = GameObject.Find("Character").GetComponent <Inventory>(); GamePaused = PauseGame.GamePaused; lockViewScript = gameObject.GetComponent <LockView>(); }
// Start is called before the first frame update void Start() { FeneLaughs = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/FeneLaughs"); EmersionLightning = gameObject.GetComponent <ParticleSystem>(); LockViewScript = PlayerCamera.GetComponent <LockView>(); baseLightningSound = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/Lightning"); feneSFXScript = fene.GetComponent <PlayFeneSFX>(); }
private void Awake() { stormSystemAnimator = stormSystem.GetComponent <Animator>(); stormSoundControlsScript = stormSystemSoundHolder.GetComponent <StormSoundControls>(); lockViewScript = playerCamera.GetComponent <LockView>(); gateCreakAndLockSound = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/GateCreakAndLock"); generalRainSoundScript = generalRainSoundHolder.GetComponent <GeneralRainSoundsScript>(); }
// Start is called before the first frame update void Start() { swordAnimator = sword.GetComponent <Animator>(); lockViewScript = playerCamera.GetComponent <LockView>(); DragonShriek = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/DragonShriek"); HereGoesNothing = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/HereGoesNothing"); DragonDeath = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/DragonDeath"); }
// 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>(); }
// Start is called before the first frame update void Start() { turulSFXScript = turul.GetComponent <PlayTurulSFX>(); lightsScript = lights.GetComponent <ProgressiveLights>(); gateCloseScript = bathroomCutsceneTimeline.GetComponent <TriggerGateClose>(); lockViewScript = playerCamera.GetComponent <LockView>(); catPuzzleLoopScript = catPuzzleLoopTriggerObject.GetComponent <PlayCatPuzzleLoop>(); }
private void CreateLockView() { _lockView = new LockView(); _lockViewModel = new LockViewModel(); _lockViewModel.NavigateToMainView += LockViewModelNavigateToMainView; _lockViewModel.Controller = new LockViewModelController(_lockView, _lockViewModel); _lockView.DataContext = _lockViewModel; }
// Start is called before the first frame update void Start() { LockViewScript = PlayerCamera.GetComponent <LockView>(); BathroomAttendantSaysHeNeedsForint = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/BathroomAttendant/forintNeededToEnter"); BathroomAttendantSaysThankYou = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/BathroomAttendant/bathroomAttendantSaysThankYou"); GottaGoGottaGoGottaGoGoGo = FMODUnity.RuntimeManager.CreateInstance("event:/Bathroom Cutscene/gottaGoGottaGoGottaGoGoGo"); RepeatForint = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/BathroomAttendant/RepeatForint"); bathroomCutsceneTimelineTrack = bathroomCutsceneTimeline.GetOutputTrack(0); bathroomCutsceneTimelineClip = bathroomCutsceneTimelineTrack.GetClips(); }
public static bool CanStartCommand([NotNull] string commandName) { if (!isInit && !Init()) { return(true); } if (data.Data.Locks.TryGetValue(commandName, out var lc) && lc.IsActive) { var lockView = new LockView(new LockViewModel(lc)); return(lockView.ShowDialog() == true); } return(true); }
// Start is called before the first frame update void Start() { inventoryActive = false; NumberOfSlots = 12; ArrayOfSlots = new GameObject[NumberOfSlots]; for (int i = 0; i < NumberOfSlots; i++) { ArrayOfSlots[i] = slotHolder.transform.GetChild(i).gameObject; } lockViewScript = playerCamera.GetComponent <LockView>(); waterBottleSelectItemScript = waterBottleSlot.GetComponent <SelectItem>(); }
// Start is called before the first frame update void Start() { triggerGateCloseScript = bathroomCutsceneTimeline.GetComponent <TriggerGateClose>(); LockViewScript = mainCamera.GetComponent <LockView>(); LevelChanger = GameObject.Find("LevelChanger"); sceneManagementScript = LevelChanger.GetComponent <SceneManagement>(); TurulSaysMilkTejSound = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Turul/milkTej"); TurulSaysMedicineSound = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Turul/medicine"); TurulSaysCandySound = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Turul/candy"); TurulSaysFireWaterEarthWindSound = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Turul/fireWaterEarthWind"); TurulSquawkSound = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/TurulSquawk"); lightningScript = lightningSystem.GetComponent <EmersionLightningEmmissionToggle>(); TurulSquawkSound.start(); }
// Start is called before the first frame update void Start() { LockViewScript = PlayerCamera.GetComponent <LockView>(); doorScript = door.GetComponent <DoorScript>(); TellPlayerToFindTheBathroom = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Vanessa/TellPlayerToFindTheBathroom"); ITriedToFindTheBathroom = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Player/ITriedToFindTheBathroom"); HeDoesntKnowEnglish = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Vanessa/AskIfSheKnowsWordForBathroom"); dialogueWithGroundskeeperScript = groundskeeper.GetComponent <DialogueWithGroundskeeper>(); forceBathroomPuzzleDialogueScript = gameObject.GetComponent <ForceBathroomPuzzleDialogue>(); tutorialUIScript = TutorialUIHolder.GetComponent <TutorialUIScript>(); CameraShakeScript = PlayerCamera.GetComponent <CameraShake>(); IDontWantThat = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Vanessa/IDontWantThat"); baseLightningSound = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/Lightning"); }
// Use this for initialization void Start() { PauseGameScript = GameObject.Find("GameController")?.GetComponent <PauseGame>(); AudioActiveStatusManager = GameObject.Find("ActiveStatusManager"); RandomWordsScript = gameObject.GetComponent <RandomWords>(); temporaryPictureName = transform.name;//grabbing the correct answer choice based on the parent object ImageNameList = new List <string>(RandomWordsScriptHolder.GetComponent <RandomWords>().ListOfChoicesForThisTextGraphic); Lights = GameObject.Find("Lights"); LightScript = Lights.GetComponent <ProgressiveLights>(); LevelChanger = GameObject.Find("LevelChanger"); SceneManagementScript = LevelChanger.GetComponent <SceneManagement>(); TitleScreenMusic = SceneManagement.TitleScreenMusic; PostFirstPuzzleMusic = SceneManagement.PostFirstPuzzleMusic; LockViewScript = PlayerCamera.GetComponent <LockView>(); GroundskeeperRespondsToIncorrectAnswer = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Groundskeeper/IncorrectBathroomAnswerResponse"); GroundskeeperRespondsToCorrectAnswer = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Groundskeeper/CorrectBathroomAnswerResponse"); LightningSound = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/Lightning"); makeItRainInTheBathroom = FMODUnity.RuntimeManager.CreateInstance("event:/Monologue/makeItRainInTheBathroom"); turulSFXScript = turul.GetComponent <PlayTurulSFX>(); gateCloseScript = bathroomCutsceneHolder.GetComponent <TriggerGateClose>(); charactersInventoryScript = character.GetComponent <Inventory>(); IHaveMilk = FMODUnity.RuntimeManager.CreateInstance("event:/ItemInteractions/IHaveMilk"); IHaveCandy = FMODUnity.RuntimeManager.CreateInstance("event:/ItemInteractions/IHaveCandy"); }
// Start is called before the first frame update void Start() { LockViewScript = PlayerCamera.GetComponent <LockView>(); BathroomDoorMonologue = FMODUnity.RuntimeManager.CreateInstance("event:/Monologue/BathroomDoorHint"); BathroomDoorOpeningSound = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/BathroomDoopOpening"); }
// Start is called before the first frame update void Start() { candyPuzzleLoopSound = FMODUnity.RuntimeManager.CreateInstance("event:/CandyPuzzle/lightCackleLoop"); LockViewScript = PlayerCamera.GetComponent <LockView>(); }
// Start is called before the first frame update void Start() { lockViewScript = playerCamera.GetComponent <LockView>(); }
// Start is called before the first frame update void Start() { TurulSaysEarthSound = FMODUnity.RuntimeManager.CreateInstance("event:/ElementsPuzzle/earth"); TurulSaysIgenSound = FMODUnity.RuntimeManager.CreateInstance("event:/ElementsPuzzle/igen"); lockViewScript = playerCamera.GetComponent <LockView>(); }