public void OnApplicationFocus(bool hasFocus) { if (hasFocus) { WiggleKit.StartHapticEngine(); } }
void Awake() { if (_instance != null) { Destroy(gameObject); return; } WiggleKit.StartHapticEngine(); DontDestroyOnLoad(gameObject); }