Made children spawn

This commit is contained in:
Pasha Bibko
2026-01-13 10:23:50 +00:00
parent d54a99874f
commit 8b648fd690
17 changed files with 441 additions and 9 deletions

View File

@@ -0,0 +1,10 @@
using System.Collections.Generic;
public static class ListExtensions
{
public static T GetRandom<T>(this List<T> list)
{
int index = UnityEngine.Random.Range(0, list.Count);
return list[index];
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: cf13893a58ea446491ffdf8b92ddd426
timeCreated: 1768299042