Skip to content

Instantly share code, notes, and snippets.

@reiji1020
Last active December 22, 2015 01:19
Show Gist options
  • Save reiji1020/6395862 to your computer and use it in GitHub Desktop.
Save reiji1020/6395862 to your computer and use it in GitHub Desktop.
// スクリプトで重力加速度を変更する
function Update() {
Physics.gravity = new Vector3(0.0f,-9.81f,0.0f);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment