Esempio n. 1
0
    // Use this for initialization
    private void Start()
    {
        OnGuideFlg = false;

        this.acornmanage = GameObject.Find("AcornManager").GetComponent <AcornManager>();
        this.timer       = GameObject.Find("ViewTimeMain").GetComponent <ViewTimeMainScene>();
    }
Esempio n. 2
0
    private void Start()
    {
        //GameObject obj;

        menuobj = GameObject.Find("Menu");
        time    = transform.Find("ViewTimeMain").gameObject;
        clipobj = GameObject.Find("clip_L");
        clip    = clipobj.GetComponent <Clip>();

        /******************************
        *ポーズするS
        ******************************/
        PauseMG.PauseAllChildren(nowobj);
        PauseMG.PauseTagObject("Player");
        PauseMG.PauseAllChildren(menuobj);
        PauseMG.Pause(time, PauseManager.MONO);
        PauseMG.PauseAllChildren(clipobj, PauseManager.MONO);
        PauseMG.Pause(clipobj, PauseManager.MONO);

        this.sendSaveData.stageName   = SceneManager.GetActiveScene().name;
        SaveDataManager.Instance.temp = this.sendSaveData;

        this.acornmanage = GameObject.Find("AcornManager").GetComponent <AcornManager>();
        this.timer       = GameObject.Find("ViewTimeMain").GetComponent <ViewTimeMainScene>();

        /******************************
        *ポーズするE
        ******************************/
    }