SettingValue.Awake C# (CSharp) Method

Awake() private method

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