2015-01-19から1日間の記事一覧
色を変える方法のメモ。 targetGameObject.renderer.material.color = Color.red;
メモ。 targetGameObjectの動きを止める場合。 targetGameObject.rigidbody.velocity = Vector3.zero; targetGameObject.rigidbody.angularVelocity = Vector3.zero;
色を変える方法のメモ。 targetGameObject.renderer.material.color = Color.red;
メモ。 targetGameObjectの動きを止める場合。 targetGameObject.rigidbody.velocity = Vector3.zero; targetGameObject.rigidbody.angularVelocity = Vector3.zero;