Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created April 24, 2018 12:06
Show Gist options
  • Save todorok1/7887fc783714d3f7e56120b452a2b512 to your computer and use it in GitHub Desktop.
Save todorok1/7887fc783714d3f7e56120b452a2b512 to your computer and use it in GitHub Desktop.
Unityチュートリアル・角度に合わせて矢印を動かすスクリプト。
void SetAngleButtonState(bool isInteractable){
// ボタンが押せるかどうかの状態をセットする
angleUpButton.interactable = isInteractable;
angleDownButton.interactable = isInteractable;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment