SetActiveState() public method

public SetActiveState ( ) : void
return void
示例#1
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     buttonText.fontStyle = FontStyle.Bold;
     StartCoroutine(animator.TriggerAnimation(scaleUp));
     changingText.text = "Cookies, device identifiers, or other information can be stored or accessed on your device for the purposes presented to you.";
     changingTextController.SetActiveState();
 }
示例#2
0
    private void OnButtonClick(BUTTON_SELECTED selected)
    {
        currentBtn = selected;
        switch (selected)
        {
        case BUTTON_SELECTED.LEFT:
            MoveActiveBackground(bgRectTrans, new Vector3(-288f, 0f, 0f));
            rightColorController.SetIdleState();
            leftColorController.SetActiveState();
            break;

        case BUTTON_SELECTED.RIGHT:
            MoveActiveBackground(bgRectTrans, new Vector3(-12f, 0f, 0f));
            leftColorController.SetIdleState();
            rightColorController.SetActiveState();
            break;
        }
    }