Пример #1
0
    // Use this for initialization
    void Start()
    {
        Debug.Log("optionMenuGlobal : Set Time.timeScale = 0");
        Time.timeScale = 0f;

        //全てのコライダーを無効化
        this.diseableAllColliders();

        sVMS = staticValueManagerGetter.getManager();

        _renderShadowToggle.isOn = sVMS.getRenderingShadowFlag();
        Debug.Log(sVMS.getRenderingShadowFlag());
        _renderStageEffToggle.isOn = sVMS.getRenderingStageEffFlag();
        Debug.Log(sVMS.getRenderingStageEffFlag());
    }
    // Use this for initialization
    void Start()
    {
        //子オブジェクトの破壊
        foreach (Transform n in this.transform)
        {
            GameObject.Destroy(n.gameObject);
        }

        staticValueManagerS s = staticValueManagerGetter.getManager();

        if (s.getRenderingStageEffFlag() == false)
        {
            return;
        }

        sceneChangeValue scv = s.getNowSceneChangeValue();

        string[] tmpStr = scv.sceneFileName.Split(new string[] { "-" }, System.StringSplitOptions.None);

        this.setParticle(tmpStr[0], tmpStr[1], tmpStr[2]);
    }