Removed TopDown View without deadzone. Exchanged Deadzone with Lookahead. Added Zoom to TopDown View
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user