Removed TopDown View without deadzone. Exchanged Deadzone with Lookahead. Added Zoom to TopDown View

This commit is contained in:
Thorbjoern
2025-07-19 18:14:39 +02:00
parent 0594f7c42b
commit aff0db9b64
6 changed files with 288 additions and 127 deletions
@@ -0,0 +1,18 @@
using UnityEngine;
using UnityEngine.Events;
public class EnableDisableActions : MonoBehaviour
{
[SerializeField] UnityEvent onEnable;
[SerializeField] UnityEvent onDisable;
private void OnEnable()
{
onEnable.Invoke();
}
private void OnDisable()
{
onDisable.Invoke();
}
}