Add RumbleManager for enhanced player feedback and integrate with existing systems
This commit is contained in:
@@ -5,6 +5,8 @@ namespace Infrastructure.Unity
|
||||
{
|
||||
public class TeleporterAdapter : MonoBehaviour
|
||||
{
|
||||
public event Action OnTeleport;
|
||||
|
||||
private Transform _targetDestination;
|
||||
private TeleporterAdapter _targetAdapter;
|
||||
private float _cooldownTimer;
|
||||
@@ -45,6 +47,7 @@ namespace Infrastructure.Unity
|
||||
}
|
||||
|
||||
Lock(1.0f);
|
||||
OnTeleport?.Invoke();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user