/
darov
/
Platformer
Обзор
Документация
Войти
/
darov
/
Platformer
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Assets/Scripts/CollisionFunctions/SummarizeLevel.cs
12 строк
273 B
Roman Danilov
comment
15 окт 2025, 07:53
15 окт 2025, 07:53
80f1cc3
Код
Авторство
О чём код?
using UnityEngine; public class SummarizeLevel : MonoBehaviour, ITriggerFunction { public void EnableFunction(GameObject other) { if (other.TryGetComponent<ICountScore>(out var score)) { score.Summarize(); } } }