Skip to content

Commit

Permalink
fixed api access modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
michael811125 committed Aug 24, 2023
1 parent 188c878 commit df3e9bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assets/OxGFrame/GSIFrame/Scripts/Runtime/GSIManagerBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static U GetStage<U>(int id) where U : GSIBase
GetInstance().AddGameStage<U>();
}

public void AddStage<U>(int id) where U : GSIBase, new()
public static void AddStage<U>(int id) where U : GSIBase, new()
{
GetInstance().AddGameStage<U>(id);
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ video_urlset 127.0.0.1/video/
public static void AddStage<U>() where U : GSIBase, new()
public void AddStage<U>(int id) where U : GSIBase, new()
public static void AddStage<U>(int id) where U : GSIBase, new()
public static void AddStage(int id, GSIBase gameStage)
Expand Down

0 comments on commit df3e9bb

Please sign in to comment.