Пример #1
0
    public void Clear()
    {
        Init();

        mPool.ReleaseAllByType(template.name);
        points.Clear();
    }
Пример #2
0
 public void DespawnAll()
 {
     for (int i = 0; i < templates.Length; i++)
     {
         mPool.ReleaseAllByType(templates[i].name);
     }
 }
Пример #3
0
 public void Clear()
 {
     StopAllCoroutines();
     mPool.ReleaseAllByType(name);
 }