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