another varian partial sorting

This commit is contained in:
2015-02-24 00:24:28 +06:00
parent 71b781d0de
commit b449d7520b
23 changed files with 30482 additions and 61944 deletions

View File

@@ -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;