protected void Start() { rainGroup = Guid.NewGuid(); api = new AdditiveShaderAPI(); enabled = api.Connect(); }
/// <summary> /// Terminates the manager. /// </summary> protected void OnDestroy() { CancelInvoke(); enabled = false; api.Disconnect(); api = null; }