void SetPreviewAvatarOption(object obj) { m_Option = (PreviewPopupOptions)obj; if (m_Option == PreviewPopupOptions.Auto) { SetPreview(null); } else if (m_Option == PreviewPopupOptions.DefaultModel) { SetPreview(GetHumanoidFallback()); } else if (m_Option == PreviewPopupOptions.Other) { ObjectSelectorOperation.Start(this); } }
public static void Start(AvatarPreview owner) { var operation = new ObjectSelectorOperation(owner, ObjectSelector.get); operation.Execute(); }