public void FillToPrefabBridge(int id, ref ResPrefabBridge source) { if (mPrefabRaw.ContainsKey(id)) { source.SetPoolID(id); source.FillRaw(mPrefabRaw[id].source); } else { } }
public void CreateSource(int id, ref ResPrefabBridge source, int total, int preCreate = 0, bool isDestroyWhenClean = false) { GameObject prefab = source.Prefab; CreateSource(id, ref prefab, total, preCreate, isDestroyWhenClean); }