/// <summary> /// Init class method. /// </summary> private void Init() { if (instance == null) { instance = this; } }
private void Awake() { Instance = this; }