File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments