private void DrawResource() { GameObject resPrefab = Instantiate(PrefabLoader.GetResource(resource.Type), Vector2.zero, Quaternion.identity) as GameObject; resPrefab.transform.SetParent(transform, false); }