This commit is contained in:
cemt1363
2026-06-06 16:08:52 +02:00
parent 418a73236e
commit acb1fd4b72
13 changed files with 2984 additions and 56 deletions
+14
View File
@@ -0,0 +1,14 @@
using UnityEngine;
public class PatternSelecter : MonoBehaviour
{
void Start()
{
foreach (Transform child in transform)
child.gameObject.SetActive(false);
int randomIndex = Random.Range(0, transform.childCount);
transform.GetChild(randomIndex).gameObject.SetActive(true);
}
}