GameTileContent Get(GameTileContent prefab) { GameTileContent instance = CreateGameObjectInstance(prefab); //이제는 base class에서 생성 및 이동을 담당 instance.OriginFactory = this; return(instance); }
public void Reclaim(GameTileContent content) { Debug.Assert(content.OriginFactory == this, "Wrong factory reclaimed!"); Destroy(content.gameObject); }