Inheritance: IDisposable
コード例 #1
0
        private void InitializeLayouts()
        {
            horizontalLayout = HorizontalLayout.None;
            verticalLayout = VerticalLayout.None;

            if (AttributeHelper.GetAttribute<BeginHorizontalAttribute> (renderer.entityInfo) != null) 
            {
                this.horizontalLayout = HorizontalLayout.BeginHorizontal;
            }
            else if (AttributeHelper.GetAttribute<EndHorizontalAttribute> (renderer.entityInfo) != null) 
            {
                this.horizontalLayout = HorizontalLayout.EndHorizontal;
            }
            
            if (AttributeHelper.GetAttribute<BeginVerticalAttribute> (renderer.entityInfo) != null) 
            {
                this.verticalLayout = VerticalLayout.BeginVertical;
            }
            else if (AttributeHelper.GetAttribute<EndVerticalAttribute> (renderer.entityInfo) != null) 
            {
                this.verticalLayout = VerticalLayout.EndVertical;
            }
        }