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

14 lines
265 B
C#
Raw Normal View History

2021-11-26 11:16:25 +03:00
using MoreMountains.Feedbacks;
using UnityEngine;
public class CameraFeedbacks : MonoBehaviour
{
[SerializeField] private MMFeedbacks _shake;
public void Shake()
{
if(!ReferenceEquals(_shake, null))
_shake.PlayFeedbacks();
}
}