File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Assets/JCSUnity/Scripts/Managers
docs/ScriptReference/Managers Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,9 @@ private void Awake()
7070 }
7171
7272 /// <summary>
73- /// Register event run on the first frame of the game.
73+ /// Register event run on the first frame of the game. (system used)
7474 /// </summary>
75- public void RegisterOnAfterInit ( Action action )
75+ public void RegisterOnSystemAfterInit ( Action action )
7676 {
7777 // Already initialize, just execute it.
7878 if ( mDoneInitialize )
@@ -81,13 +81,13 @@ public void RegisterOnAfterInit(Action action)
8181 return ;
8282 }
8383
84- mOnAfterInitialize += action ;
84+ mOnSystemAfterInitialize += action ;
8585 }
8686
8787 /// <summary>
8888 /// Register event run on the first frame of the game.
8989 /// </summary>
90- public void RegisterOnSystemAfterInit ( Action action )
90+ public void RegisterOnAfterInit ( Action action )
9191 {
9292 // Already initialize, just execute it.
9393 if ( mDoneInitialize )
@@ -96,7 +96,7 @@ public void RegisterOnSystemAfterInit(Action action)
9696 return ;
9797 }
9898
99- mOnSystemAfterInitialize += action ;
99+ mOnAfterInitialize += action ;
100100 }
101101
102102 /// <summary>
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ Manager that manage the game behaviour.
44
55## Variables
66
7- | Name | Description |
8- | :------------------------| : ----------------------------------------------------------|
9- | onSystemAfterInitialize | Callback after the game is done initialize. (system used) |
10- | onAfterInitialize | Callback after the game is done initialize. |
11- | TIME_SCALE | Adjustable current time scale. |
12- | GAME_PAUSE | Is the game pause? |
13- | DONE_INITIALIZE | Is game done initialize? |
7+ | Name | Description |
8+ | :-------------------------- | :------- ----------------------------------------------------------|
9+ | RegisterOnAfterInit | Register event run on the first frame of the game. |
10+ | RegisterOnSystemAfterInit | Register event run on the first frame of the game. (system used) |
11+ | TIME_SCALE | Adjustable current time scale. |
12+ | GAME_PAUSE | Is the game pause? |
13+ | DONE_INITIALIZE | Is game done initialize? |
You can’t perform that action at this time.
0 commit comments