First try

This commit is contained in:
Thorbjoern
2025-06-28 16:40:31 +02:00
parent 4facf6a768
commit 643c071c51
40 changed files with 19460 additions and 1356 deletions
@@ -0,0 +1,16 @@
using System.Collections.Generic;
using System;
using UnityEngine;
public class StopRecordingTrigger : MonoBehaviour
{
public string tagFilter = "Player";
public static event Action OnRecordStop;
// Start is called once before the first execution of Update after the MonoBehaviour is created
private void OnTriggerEnter(Collider other)
{
if (!string.IsNullOrEmpty(tagFilter) && !other.gameObject.CompareTag(tagFilter)) return;
OnRecordStop.Invoke();
}
}