SettingValue.Awake C# (CSharp) 메소드

Awake() 개인적인 메소드

private Awake ( ) : void
리턴 void
	void Awake () {
        if (setting == null)
        {
            DontDestroyOnLoad(gameObject);
            setting = this;
        }
        else if(setting != this)
        {
            Destroy(gameObject);
        }
	}