void DeleteObject() { SceneNode selected = mc.GetSelectedObject(); if (selected == null) { Debug.Log("Delete unsuccessful, please select an object before attempting to dete."); return; } world.ForceDeselect(); ht.Delete(ref selected); }