Пример #1
0
 public void Release()
 {
     _roomNPCComponent = null;
     _data             = null;
     _mapUnit          = null;
 }
Пример #2
0
 public NPC(RoomNpcComponent roomNPCComponent, NPCConfig config)
 {
     _roomNPCComponent = roomNPCComponent;
     _data.SetData(config);
 }