예제 #1
0
 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);
     }
 }
예제 #2
0
            public static void Start(AvatarPreview owner)
            {
                var operation = new ObjectSelectorOperation(owner, ObjectSelector.get);

                operation.Execute();
            }