public LocalTerrainOverlayController() { if (!Instance) { Instance = this; } else if (Instance != this) { throw new Exception($"Only one instace of {GetType().Name} is allowed!"); } }
protected override void Awake() { base.Awake(); _overlayController = LocalTerrainOverlayController.Instance; }