Ejemplo n.º 1
0
    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()
    {
        turulSFXScript = turul.GetComponent <PlayTurulSFX>();
        lightsScript   = lights.GetComponent <ProgressiveLights>();

        gateCloseScript = bathroomCutsceneTimeline.GetComponent <TriggerGateClose>();
        lockViewScript  = playerCamera.GetComponent <LockView>();

        catPuzzleLoopScript = catPuzzleLoopTriggerObject.GetComponent <PlayCatPuzzleLoop>();
    }
    // Start is called before the first frame update
    void Start()
    {
        doorScript   = door.GetComponent <DoorScript>();
        levelChanger = GameObject.Find("LevelChanger");
        if (!levelChanger)
        {
            Instantiate(activeStatusAudioManager);
            levelChanger = GameObject.Find("LevelChanger");
        }

        sceneManagementScript = levelChanger.GetComponent <SceneManagement>();

        Lights       = GameObject.Find("Lights");
        LightsScript = Lights.GetComponent <ProgressiveLights>();

        vanessaSaysOMGAfterGateCloses = FMODUnity.RuntimeManager.CreateInstance("event:/Dialogue/Vanessa/OMGTheGateClosed");
        shakeGateSound = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/ShakingGate");

        turulSFXScript = turul.GetComponent <PlayTurulSFX>();


        bathroomCutceneFootstepsScript = footstepsHolderObject.GetComponent <BathroomCutsceneFootstepsControl>();
    }
Ejemplo n.º 4
0
    // 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");
    }
Ejemplo n.º 5
0
 private void Start()
 {
     lightsScript   = lights.GetComponent <ProgressiveLights>();
     turulSFXScript = turul.GetComponent <PlayTurulSFX>();
     turulsAnimator = turul.GetComponent <Animator>();
 }