internal Style(ConstructionPhase phase) { if (phase == ConstructionPhase.Publishing) { m_styleAttributes = new Dictionary <string, AttributeInfo>(); } }
public Style(ConstructionPhase phase) { if (phase == ConstructionPhase.Publishing) { this.m_styleAttributes = new StyleAttributeHashtable(); } }
public void setCurrentPhase(ConstructionPhase phase) { currentPhase = phase; switch (phase) { case ConstructionPhase.NotBuilding: UIManager.instance.ShowConstructionHelpText(false); UIManager.instance.ShowConstructionInfoText(false); currentSelection = -1; UIManager.instance.DeselectActionBar(); break; case ConstructionPhase.SelectingBuilding: UIManager.instance.ShowConstructionHelpText(true); UIManager.instance.ShowConstructionInfoText(true); break; case ConstructionPhase.PlacingBuilding: UIManager.instance.ShowConstructionHelpText(true); UIManager.instance.ShowConstructionInfoText(true); break; default: break; } }
internal Style(ConstructionPhase phase) { if (phase == ConstructionPhase.Publishing) { m_styleAttributes = new StyleAttributeHashtable(); } }
public Sorting(ConstructionPhase phase) { if (phase == ConstructionPhase.Publishing) { this.m_sortExpressions = new ExpressionInfoList(); this.m_sortDirections = new BoolList(); } }
internal Sorting(ConstructionPhase phase) { if (phase == ConstructionPhase.Publishing) { m_sortExpressions = new ExpressionInfoList(); m_sortDirections = new BoolList(); } }
public Sorting(ConstructionPhase phase) { if (phase == ConstructionPhase.Publishing) { this.m_sortExpressions = new List <ExpressionInfo>(); this.m_sortDirections = new List <bool>(); this.m_naturalSortFlags = new List <bool>(); this.m_deferredSortFlags = new List <bool>(); } }
internal Grouping(ConstructionPhase phase) { if (phase == ConstructionPhase.Publishing) { m_groupExpressions = new ExpressionInfoList(); m_aggregates = new DataAggregateInfoList(); m_postSortAggregates = new DataAggregateInfoList(); m_recursiveAggregates = new DataAggregateInfoList(); } }
internal Grouping(int id, ConstructionPhase phase) { if (phase == ConstructionPhase.Publishing) { m_groupExpressions = new List <ExpressionInfo>(); m_aggregates = new List <DataAggregateInfo>(); m_postSortAggregates = new List <DataAggregateInfo>(); m_recursiveAggregates = new List <DataAggregateInfo>(); } m_ID = id; }
void Awake() { if (instance == null) { instance = this; } else { Destroy(gameObject); } currentPhase = ConstructionPhase.NotBuilding; }
private void ChangePhase(ConstructionPhase newPhase) { currentPhase = newPhase; }
internal Grouping(ConstructionPhase phase) : this(-1, phase) { }
public Grouping(ConstructionPhase phase) : this(-1, phase) { }