private void SafetyGetValue(PostProcessParamBase param, float time, ref float value, int index) { try { param.GetValue(time, out value, index); } catch (AccessViolationException e) { ErrorOccuredEvent?.Invoke(e.Message); } }
protected virtual void Log(string errormessage) { ErrorOccuredEvent?.Invoke(this, errormessage); }
private void Log(string message) { ErrorOccuredEvent?.Invoke(this, message); }