private void Awake() { if (instance != null) { Destroy(gameObject); return; } instance = this; Shop.SetManager(this); }
public static void SetManager(ShopsManager shopsManager) { manager = shopsManager; }
private void Awake() { if (instance != null) { Destroy(gameObject); return; } instance = this; Shop.SetManager(this); }
public static void SetManager(ShopsManager shopsManager) { manager = shopsManager; }