Exemple #1
0
 public void FillToPrefabBridge(int id, ref ResPrefabBridge source)
 {
     if (mPrefabRaw.ContainsKey(id))
     {
         source.SetPoolID(id);
         source.FillRaw(mPrefabRaw[id].source);
     }
     else
     {
     }
 }
Exemple #2
0
        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);
        }