}//UpdateCurrClip public void ResetClip() { if(ClipSize < 0) //probably a meele weapon return; this.ClipStatus = ClipSize; EOnReloadEvent?.Invoke(false); }//ResetClip
private static void OnReload() { if (EditorApplication.isPlaying == false) { return; } if (allChangeFile.Count == 0) { return; } foreach (var item in allChangeFile) { ReloadFunction.Invoke(item); } allChangeFile.Clear(); }