mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-15 01:12:05 +07:00
Fix "Issue #1: Instantiate IsoObject from code"
This commit is contained in:
@@ -120,10 +120,11 @@ public class IsoObject : MonoBehaviour {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Start() {
|
void Awake() {
|
||||||
_transform = gameObject.transform;
|
_transform = gameObject.transform;
|
||||||
_lastPosition = Position;
|
_lastPosition = Position;
|
||||||
_lastTransform = _transform.position;
|
_lastTransform = _transform.position;
|
||||||
|
FixIsoPosition();
|
||||||
MartDirtyIsoWorld();
|
MartDirtyIsoWorld();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user