Make() public static method

public static Make ( UnityEngine obj, EditorFeatures requirements ) : EditorWrapper
obj UnityEngine
requirements EditorFeatures
return EditorWrapper
コード例 #1
0
 public EditorWrapper this[UnityEngine.Object o]
 {
     get
     {
         this.m_UsedEditors[o] = true;
         if (this.m_EditorCache.ContainsKey(o))
         {
             return(this.m_EditorCache[o]);
         }
         EditorWrapper wrapper3 = EditorWrapper.Make(o, this.m_Requirements);
         this.m_EditorCache[o] = wrapper3;
         return(wrapper3);
     }
 }
コード例 #2
0
        public EditorWrapper this[Object o]
        {
            get
            {
                m_UsedEditors[o] = true;
                if (m_EditorCache.ContainsKey(o))
                {
                    return(m_EditorCache[o]);
                }

                EditorWrapper w = EditorWrapper.Make(o, m_Requirements);
                return(m_EditorCache[o] = w);
            }
        }
コード例 #3
0
 public EditorWrapper this[UnityEngine.Object o]
 {
     get
     {
         m_UsedEditors[o] = true;
         if (m_EditorCache.ContainsKey(o))
         {
             return(m_EditorCache[o]);
         }
         EditorWrapper editorWrapper  = EditorWrapper.Make(o, m_Requirements);
         EditorWrapper editorWrapper2 = editorWrapper;
         m_EditorCache[o] = editorWrapper2;
         return(editorWrapper2);
     }
 }
コード例 #4
0
 public EditorWrapper this[UnityEngine.Object o]
 {
     get
     {
         this.m_UsedEditors[o] = true;
         EditorWrapper result;
         if (this.m_EditorCache.ContainsKey(o))
         {
             result = this.m_EditorCache[o];
         }
         else
         {
             EditorWrapper editorWrapper  = EditorWrapper.Make(o, this.m_Requirements);
             EditorWrapper editorWrapper2 = editorWrapper;
             this.m_EditorCache[o] = editorWrapper2;
             result = editorWrapper2;
         }
         return(result);
     }
 }