public override void OnSelectionChanged(Object selection) { if (IsValid()) { m_Owner.SetPreview(ObjectSelector.GetCurrentObject() as GameObject); InspectorWindow.RepaintAllInspectors(); } }