GameMgr.Awake C# (CSharp) 메소드

Awake() 개인적인 메소드

private Awake ( ) : void
리턴 void
	void Awake(){
	
		
		if(self)
		{
			Destroy(this);
			Destroy(this.gameObject);
			return;
		}
		
		self = this;
		
		DontDestroyOnLoad(this.gameObject);
		Application.targetFrameRate = 30;
		UpdateResolution();
		
	}