示例#1
0
	void Start () {
		Cursor.visible = false;
		optionsController = GameObject.FindObjectOfType<OptionsController>(); if (!optionsController) Debug.LogError (this + ":ERROR: unable to attach to OptionsController to reset options to defaults");
		optionsController.SetDefaults();
		optionsController.Save ();
		Invoke("LoadNextLevel", autoLoadNextLevelDelay);
	}