SamsonGame/Assets/Scripts/Managers/Camera/CameraFeedbacks.cs

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();
}
}