mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-15 01:12:05 +07:00
little tweek
This commit is contained in:
@@ -692,8 +692,9 @@ namespace IsoTools {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void PlaceIsoObject(IsoObject iso_object, float depth) {
|
void PlaceIsoObject(IsoObject iso_object, float depth) {
|
||||||
var trans = iso_object.Internal.Transform;
|
var iso_internal = iso_object.Internal;
|
||||||
trans.position = IsoUtils.Vec3ChangeZ(trans.position, depth);
|
iso_internal.Transform.position =
|
||||||
|
IsoUtils.Vec3FromVec2(iso_internal.LastTrans, depth);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user