UnityEditor.UnifiedInspectView.GetInspectViewForType C# (CSharp) Method

GetInspectViewForType() protected method

protected GetInspectViewForType ( InstructionType type ) : BaseInspectView
type InstructionType
return BaseInspectView
        protected BaseInspectView GetInspectViewForType(InstructionType type)
        {
            switch (type)
            {
                case InstructionType.kStyleDraw:
                    return this.m_InstructionStyleView;

                case InstructionType.kClipPush:
                case InstructionType.kClipPop:
                    return this.m_InstructionClipView;

                case InstructionType.kLayoutBeginGroup:
                case InstructionType.kLayoutEndGroup:
                case InstructionType.kLayoutEntry:
                    return this.m_InstructionLayoutView;
            }
            throw new NotImplementedException("Unhandled InstructionType");
        }