private void GoLoadedWrapper(string source, UnityObject unityObj) { if (GoLoaded != null) { try { _goLoadedProfile.BeginProfile(); GoLoaded.Invoke(unityObj); } finally { _goLoadedProfile.EndProfile(); } } if (AfterGoLoaded != null) { try { _afterGoLoadedProfile.BeginProfile(); AfterGoLoaded(unityObj); } finally { _afterGoLoadedProfile.EndProfile(); } } RemoveRequest(LevelRequestEnum.LoadGo, unityObj.Address.ToString()); --NotFinishedRequests; }
private void GoLoadedWrapper(string source, UnityObject unityObj) { if (GoLoaded != null) { try { _goLoadedProfile.BeginProfile(); GoLoaded.Invoke(unityObj); } finally { _goLoadedProfile.EndProfile(); } } if (AfterGoLoaded != null) { try { _afterGoLoadedProfile.BeginProfile(); AfterGoLoaded(unityObj); } finally { _afterGoLoadedProfile.EndProfile(); } } --NotFinishedRequests; }
public void GoLoadedWrapper(string source, UnityObject unityObj) { if (GoLoaded != null) { GoLoaded.Invoke(unityObj); } if (AfterGoLoaded != null) { AfterGoLoaded(unityObj); } --NotFinishedRequests; }