Esempio n. 1
0
 public CharacterActionUnit(CharacterBase host)
 {
     _host = host;
 }
 private void AddCharacter(CharacterBase player)
 {
     _characterMap.Add(player.ObjectIndex, player);
 }
 private void ReleaseCharacter(CharacterBase player)
 {
     _characterMap.Remove(player.ObjectIndex);
     ObjectPool <CharacterBase> .Instance.Release(ref player);
 }
Esempio n. 4
0
 public CharacterMoveUnit(CharacterBase host)
 {
     _host = host;
 }