void Start() { if (instance == null) { instance = this; } else if (instance != this) { Destroy(gameObject); } }
public void Awake() { Singleton = this; }