14 lines
265 B
C#
14 lines
265 B
C#
|
using MoreMountains.Feedbacks;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class CameraFeedbacks : MonoBehaviour
|
||
|
{
|
||
|
[SerializeField] private MMFeedbacks _shake;
|
||
|
|
||
|
public void Shake()
|
||
|
{
|
||
|
if(!ReferenceEquals(_shake, null))
|
||
|
_shake.PlayFeedbacks();
|
||
|
}
|
||
|
}
|