Ejemplo n.º 1
0
    void Start()
    {
        GameObject anotherObject = GameObject.Find("SceneChangeBox");

        sceneChangeEffect = anotherObject.GetComponent <SceneChangeEffect>();

        Set_sceneChange = true;
        moveSwitch      = false;
    }
Ejemplo n.º 2
0
    void Start()
    {
        playMusic   = false;
        changeScene = false;
        GameObject anotherObject = GameObject.Find("SceneChangeBox");

        sceneChangeEffect = anotherObject.GetComponent <SceneChangeEffect>();
        onlyOne           = true;
    }
Ejemplo n.º 3
0
    void Start()
    {
        boxOrientation     = BOXORIENTATION.soundBox_1;
        boxOrientation_Old = boxOrientation;
        musicManagement    = GetComponent <MusicManagement>();
        GameObject childObject   = transform.Find("SoundInformation").gameObject;
        GameObject anotherObject = GameObject.Find("SceneChangeBox");

        sceneChangeEffect = anotherObject.GetComponent <SceneChangeEffect>();
        Set_LeftJudgment  = false;
        Set_RightJudgment = false;
        Set_JumpJudgment  = false;
        Set_sceneChange   = true;
    }