コード例 #1
0
	void Awake()
	{
		DontDestroyOnLoad(gameObject);
		RenameToType();
		myInstance = this;
		
		Hide();
	}
コード例 #2
0
	void OnDestroy()
	{
		myInstance = null;
	}