SetPreview() private method

private SetPreview ( GameObject gameObject ) : void
gameObject UnityEngine.GameObject
return void
Beispiel #1
0
 public override void OnSelectionChanged(Object selection)
 {
     if (IsValid())
     {
         m_Owner.SetPreview(ObjectSelector.GetCurrentObject() as GameObject);
         InspectorWindow.RepaintAllInspectors();
     }
 }