public void DisplayHorizontalLine(int row, enHorizontalLineType type) { if (this.m_horizontalLines[row][(int)type] != null) { this.m_horizontalLines[row][(int)type].alpha = 1f; } }
public void InitializeHorizontalLine(int row, enHorizontalLineType type, GameObject gameObject) { CanvasGroup component = gameObject.GetComponent <CanvasGroup>(); if (component == null) { component = gameObject.AddComponent <CanvasGroup>(); } component.alpha = 0f; this.m_horizontalLines[row][(int)type] = component; }