Unityチュートリアル・角度に合わせて矢印を動かすスクリプト。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Update(){ | |
// キーボードからの入力を監視 | |
CheckInput(); | |
// forceAngleの変更を反映する | |
CalcForceDirection(); | |
// powerMeterを動かす | |
MovePowerMeter(); | |
// 角度を変更する | |
ChangeForceAngle(); | |
ChangeArrowAngle(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment