コード例 #1
0
    private void Awake()
    {
        Time.timeScale = 1f;

        if (Main == null)
        {
            Main = this;
        }
        else if (Main != this)
        {
            Destroy(this.gameObject);
        }

        savedGameTitleControl.Setup();
        sceneManager.Setup();
        SFXManager.Setup();
        settingsController.Setup();

        Script_SystemSettings.DisableMouse();
        systemSettings.TargetFrameRate();
        systemSettings.SetScreenSettings();
    }
コード例 #2
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        Script_Start t = (Script_Start)target;
    }