public void Update() { if (mLevelLoaded) { if (mLoading) { mCurrentProduce.onEnter(); mLoading = false; } mLevelLoaded = false; } else if (mCurrentProduce != null) { mCurrentProduce.Update(); } }