public void Release() { _roomNPCComponent = null; _data = null; _mapUnit = null; }
public NPC(RoomNpcComponent roomNPCComponent, NPCConfig config) { _roomNPCComponent = roomNPCComponent; _data.SetData(config); }