void SetActionHint() { if (curStep.hintMove) { match.ShowTouchGuide(null, true, curStep.hintMoveAngle); } if (curStep.hintAction != null) { foreach (Command hintCmd in curStep.hintAction) { UController.Button btn = match.m_uiController.GetButton(hintCmd); match.HighlightButton(btn.index, true); } } }
private void UnhighlightButton(GameObject go = null) { if (stepFinished || curStep == null) { return; } if (curStep.hintAction != null) { foreach (Command cmd in curStep.hintAction) { UController.Button btn = match.m_uiController.GetButton(cmd); if (btn.btn.gameObject == go || go == null) { match.HighlightButton(btn.index, false); } } } }