コード例 #1
0
ファイル: FindTab.cs プロジェクト: vinhphu3000/unitylib
        // Use this for initialization
        public void Init(EditorTabs owner)
        {
            m_Owner     = (BatchMain)owner;
            m_ClassName = "UnityEngine.SpriteRenderer";
            m_Owner.controller.findClassInfo = Batch.GetClassInfo(m_ClassName, m_Inherit);

            m_FindConditionView = new FindConditionView();
            m_FindConditionView.Init(m_Owner.controller.findClassInfo);
            if (m_Owner.controller.findClassInfo != null)
            {
                m_FindConditionView.expressionNames = m_Owner.controller.findClassInfo.GetMemberNames(m_Inherit);
            }
        }
コード例 #2
0
 // Use this for initialization
 public void Init(EditorTabs owner)
 {
     m_Owner = (BatchMain)owner;
 }
コード例 #3
0
 // Use this for initialization
 public void Init(EditorTabs owner)
 {
     m_Owner = (BatchMain)owner;
     m_ModifyExpressionView = new ModifyExpressionView();
     m_ModifyExpressionView.Init(m_Owner.controller.findClassInfo);
 }