public override void Enter(GameManager Entity) { Messenger.AddListener(ConstValue.MSG_GAME_TO_LEVEL, GameToLevel); Messenger.AddListener <GamePropsId>(ConstValue.MSG_USE_PROP, UseProp); Messenger.AddListener <GamePropsId>(ConstValue.MSG_USE_PROP_CEL, UsePropCancel); currentLevel = ConstValue.currentLevel; boxPanel = GameTools.CreateGameObject <BoxPanel>(); boxPanel.Init(); bBanner = GameObject.Instantiate(ResourceMgr.Instance().GetResFromName(ConstValue.GAME_B_BANNER), new Vector3(0f, -7f, 0), Quaternion.identity) as GameObject; isPlaying = true; }