unity code style

This commit is contained in:
2015-07-11 15:57:58 +06:00
parent ff2db6d279
commit 3437fa40ce
23 changed files with 926 additions and 923 deletions

View File

@@ -7,9 +7,9 @@ namespace IsoTools { namespace Examples {
var iso_object = GetComponent<IsoObject>();
var iso_rigidbody = GetComponent<IsoRigidbody>();
if ( iso_rigidbody ) {
iso_rigidbody.Velocity = dir;
iso_rigidbody.velocity = dir;
} else if ( iso_object) {
iso_object.Position += dir * Time.deltaTime;
iso_object.position += dir * Time.deltaTime;
}
}
void Update () {