public void SelectDetails() { if (SelectionManager.Current.AffectedGameObjects.Length == 0 || SelectionManager.Current.Selection.Ids.Count == 0) { DecalSettingsUi.Load(null); } else { DecalSettingsUi.Load(SelectionManager.Current.AffectedGameObjects[SelectionManager.Current.Selection.Ids[0]].GetComponent <OzoneDecal>().Dec.Shared); } DecalsList.UpdateSelection(); }