Пример #1
0
 // Update is called once per frame
 void Update()
 {
     if (SyncEntity != null)
     {
         SyncEntity.OnUpdate();
         EntityAttribute.AttribbuteUpdate(SyncEntity);
     }
 }
Пример #2
0
 // Update is called once per frame
 void Update()
 {
     if (SyncEntity != null)
     {
         SyncEntity.OnUpdate();                        //状态更新
         EntityAttribute.AttribbuteUpdate(SyncEntity); //战斗属性更新
     }
 }
Пример #3
0
 // Update is called once per frame
 void Update()
 {
     if (SyncEntity != null)
     {
         SyncEntity.OnUpdate();//Iselfplayer和Iplayer的onUpdate都会被执行??
         EntityAttribute.AttribbuteUpdate(SyncEntity);
     }
 }
Пример #4
0
 // Update is called once per frame
 void Update()
 {
     if (SyncEntity != null)
     {
         SyncEntity.OnUpdate();          //状态更新
         mEntityData.Update(SyncEntity); //战斗属性更新
     }
 }