using System; using UnityEngine; using System.Collections; using Phantom.XRMOD.XRMODAPI.Runtime; using Phantom.XRMOD.XRMODUtilites.Runtime; using Phantom.XRMOD.ActionNotification.Runtime; namespace #NAMESPACE#.Runtime { public class #SCRIPTNAME# { private SharedData sharedData = SharedData.GetInstance; /// /// Use this for initialization. /// public void OnLoad() { } /// /// General event callback. Please delete the function if it is not used /// /// public void OnEvent(BaseNotificationData _data) { } /// /// Release Memory after XR close. Please delete the function if it is not used /// public void ReleaseMemory(string _projectName) { if (nameof(#NAMESPACE#) != _projectName) return; sharedData.Dispose(); sharedData = null; } } }