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