Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
kebiao committed Feb 26, 2018
1 parent 17b7bd1 commit 9c539a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions KBEMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ public class KBEMain : MonoBehaviour
public bool useAliasEntityID = true;
public bool isOnInitCallPropertysSetMethods = true;

void Awake()
protected virtual void Awake()
{
DontDestroyOnLoad(transform.gameObject);
}

// Use this for initialization
void Start ()
protected virtual void Start ()
{
MonoBehaviour.print("clientapp::start()");
installEvents();
Expand Down Expand Up @@ -78,7 +78,7 @@ public virtual void initKBEngine()
gameapp = new KBEngineApp(args);
}

void OnDestroy()
protected virtual void OnDestroy()
{
MonoBehaviour.print("clientapp::OnDestroy(): begin");
if (KBEngineApp.app != null)
Expand All @@ -89,7 +89,7 @@ void OnDestroy()
MonoBehaviour.print("clientapp::OnDestroy(): end");
}

void FixedUpdate ()
protected virtual void FixedUpdate ()
{
KBEUpdate();
}
Expand Down

0 comments on commit 9c539a5

Please sign in to comment.