Первый коммит

This commit is contained in:
2024-04-20 11:16:35 +03:00
parent 284e0891d9
commit 2452b24ee5
5427 changed files with 4562744 additions and 0 deletions

View File

@ -0,0 +1,23 @@
using UnityEngine;
class Finish : MonoBehaviour
{
[SerializeField] private GameObject Effects;
private void Start()
{
Effects.SetActive(false);
}
private void OnTriggerEnter(Collider other)
{
if (other.gameObject.tag == "Player 1" || other.gameObject.tag == "Player 2")
{
Debug.Log("<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!");
Effects.SetActive(true);
}
}
}