public void Delete() { if (handle == Types.INVALID_HANDLE) { return; } try { UnityInterface.Lock(); #if VERBOSE_LOGGING Debug.Log("Delete " + GetType().Name + " Handle:" + handle); #endif HvrPlayerInterfaceAPI.Asset_Delete(handle); HvrPlayerInterfaceAPI.Interface_Update(); UnityInterface.SceneObjectsRemove(handle); m_handle = Types.INVALID_HANDLE; } catch (Exception e) { Debug.LogError(e.Message); } finally { UnityInterface.Unlock(); } }