mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-16 22:16:55 +07:00
another varian partial sorting
This commit is contained in:
@@ -143,8 +143,9 @@ namespace IsoTools {
|
||||
void Update() {
|
||||
if ( Application.isEditor ) {
|
||||
if ( !Mathf.Approximately(_lastTransform.x, transform.position.x) ||
|
||||
!Mathf.Approximately(_lastTransform.y, transform.position.y) )
|
||||
!Mathf.Approximately(_lastTransform.y, transform.position.y))
|
||||
{
|
||||
Debug.Log("Change pos: " + gameObject.name);
|
||||
FixIsoPosition();
|
||||
}
|
||||
if ( _lastPosition != _position ) Position = _position;
|
||||
|
||||
Reference in New Issue
Block a user