Skip to content

Commit 605de9d

Browse files
committed
Remove parameter from constructor in editor window
1 parent 61fc5eb commit 605de9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/SOGameEvents/Editor/Window/GameEventWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ private void GenerateGameEventListener(string className, string variableNamePref
197197
outfile.WriteLine(TAB + "{");
198198
outfile.WriteLine(TAB + TAB + "public " + className + "() : base() {}");
199199
outfile.WriteLine("");
200-
outfile.WriteLine(TAB + TAB + "public " + className + "(IRegisterListener registerListener, GameObject gameObject) : base(registerListener, gameObject) {}");
200+
outfile.WriteLine(TAB + TAB + "public " + className + "(IRegisterListener registerListener) : base(registerListener) {}");
201201
outfile.WriteLine("");
202202
outfile.WriteLine(TAB + TAB + "[SerializeField] private " + gameeventName + " " + variableNamePrefix + "Event;");
203203
outfile.WriteLine(TAB + TAB + "[SerializeField] private " + unityeventName + " " + variableNamePrefix + "Response;");

0 commit comments

Comments
 (0)