15 lines
207 B
C#
15 lines
207 B
C#
using UnityEngine;
|
|
|
|
public sealed class MessengerHelper : MonoBehaviour
|
|
{
|
|
private void Awake()
|
|
{
|
|
Object.DontDestroyOnLoad(base.gameObject);
|
|
}
|
|
|
|
public void OnDisable()
|
|
{
|
|
OVRMessenger.Cleanup();
|
|
}
|
|
}
|