mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2026-01-05 01:50:58 +07:00
sample scenes
This commit is contained in:
@@ -254,8 +254,8 @@ namespace IsoTools {
|
||||
}
|
||||
|
||||
void Awake() {
|
||||
fakeObject.AddComponent<IsoFakeRigidbody>().Init(this);
|
||||
_realRigidbody = fakeObject.AddComponent<Rigidbody>();
|
||||
IsoUtils.GetOrCreateComponent<IsoFakeRigidbody>(fakeObject).Init(this);
|
||||
_realRigidbody = IsoUtils.GetOrCreateComponent<Rigidbody>(fakeObject);
|
||||
_realRigidbody.freezeRotation = true;
|
||||
_realRigidbody.isKinematic = isKinematic;
|
||||
_realRigidbody.interpolation = interpolation;
|
||||
|
||||
Reference in New Issue
Block a user