Skip to content

Commit 9c539a5

Browse files
committed
up
1 parent 17b7bd1 commit 9c539a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

KBEMain.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ public class KBEMain : MonoBehaviour
2727
public bool useAliasEntityID = true;
2828
public bool isOnInitCallPropertysSetMethods = true;
2929

30-
void Awake()
30+
protected virtual void Awake()
3131
{
3232
DontDestroyOnLoad(transform.gameObject);
3333
}
3434

3535
// Use this for initialization
36-
void Start ()
36+
protected virtual void Start ()
3737
{
3838
MonoBehaviour.print("clientapp::start()");
3939
installEvents();
@@ -78,7 +78,7 @@ public virtual void initKBEngine()
7878
gameapp = new KBEngineApp(args);
7979
}
8080

81-
void OnDestroy()
81+
protected virtual void OnDestroy()
8282
{
8383
MonoBehaviour.print("clientapp::OnDestroy(): begin");
8484
if (KBEngineApp.app != null)
@@ -89,7 +89,7 @@ void OnDestroy()
8989
MonoBehaviour.print("clientapp::OnDestroy(): end");
9090
}
9191

92-
void FixedUpdate ()
92+
protected virtual void FixedUpdate ()
9393
{
9494
KBEUpdate();
9595
}

0 commit comments

Comments
 (0)