public NpcEntity(SpawnNpcServerMessage message) : base(message.Id) { }
public void UpdateEntities(SpawnNpcServerMessage message) { var entity = NetworkController.Instance.EntityTracker.GetOrNull(message.Id); var npcEntity = entity as NpcEntity; if (npcEntity!=null && NetworkController.Instance.Encounter == npcEntity) _toDelete.Add(entity); }