Started adding multiplayer

This commit is contained in:
2026-05-19 19:14:03 +01:00
parent f826689bdd
commit e8e6c710df
36 changed files with 892 additions and 17 deletions

View File

@@ -0,0 +1,15 @@
using UnityEngine;
namespace PashaBibko.PenguinChase.Extensions
{
public static class MonoBehaviourExtensions
{
public static void DestroyAllChildren(this MonoBehaviour go)
{
foreach (Transform child in go.transform)
{
Object.Destroy(child.gameObject);
}
}
}
}