more physics api

This commit is contained in:
2016-04-17 23:24:22 +06:00
parent 68ca004cbd
commit 12e944b068
5 changed files with 22 additions and 8 deletions

View File

@@ -348,7 +348,7 @@ namespace IsoTools {
}
}
#if UNITY_EDITOR
#if UNITY_EDITOR
void Reset() {
mass = 1.0f;
drag = 0.0f;
@@ -369,6 +369,6 @@ namespace IsoTools {
realRigidbody.collisionDetectionMode = collisionDetectionMode;
}
}
#endif
#endif
}
}