private void ReleaseBehaviour(BaseBehaviour behaviour) { try { MDebug.LogVerbose("Core" , $"Before execute {behaviour.GetName()}.OnRelease"); behaviour.OnRelease(); MDebug.LogVerbose("Core" , $"After execute {behaviour.GetName()}.OnRelease"); } catch (Exception e) { MDebug.LogError("Core" , $"Execute {behaviour.GetName()}.OnRelease Exception:{e.ToString()}"); } }