add project files

This commit is contained in:
Boris Nikolaev
2026-08-14 01:58:31 +03:00
parent 9134cad79b
commit 5f1e94b653
4399 changed files with 12286903 additions and 0 deletions
@@ -0,0 +1,25 @@
using System.Collections.Generic;
using UnityEngine;
public class TriggerMovingPlatforme : MonoBehaviour
{
public List<GameObject> _ListObjectToDisable;
private List<MovingPlatforme> _ListPlatforme = new List<MovingPlatforme>();
public void Init(MovingPlatforme plateforme)
{
_ListPlatforme.Add(plateforme);
}
public void ActiveObstacle()
{
foreach (MovingPlatforme platforme in _ListPlatforme)
{
platforme.Activate(active: true);
}
foreach (GameObject obj in _ListObjectToDisable)
{
obj.SetActive(false);
}
}
}