예제 #1
0
 public PoolItem PlaceHighlighter(int2 cell, Highlighter highlighter, PoolItem reusePoolItem = null) => PlaceHighlighter(new HexCell(cell), highlighter, reusePoolItem);
예제 #2
0
 private void OnHexUnselected(HexCell hex)
 {
     m_Item?.Release();
     m_Item = null;
 }
        // Private ---

        private void PlaceHighlighterItem(int2 cell)
        {
            m_HighlightItem = HexHighlighter.PlaceHighlighter(cell, Highlighter.white, m_HighlightItem);
        }