private void Awake() { instance = this; overlay = new Texture2D(1, 1); overlay.SetPixel(0, 0, Color.black.WithAlpha(startingAlpha)); overlay.Apply(); }
private void OnDestroy() { instance = null; }