222
This commit is contained in:
parent
457d8cc8d1
commit
811e11d53f
|
|
@ -59,15 +59,15 @@ public class PostureController : MonoBehaviour
|
||||||
if (distance >= 1120)
|
if (distance >= 1120)
|
||||||
{
|
{
|
||||||
distance = 1120;
|
distance = 1120;
|
||||||
currentCoroutine = null;
|
//currentCoroutine = null;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
satelliteImagery.orthographicSize = distance;
|
||||||
if (currentCoroutine == null)
|
//if (currentCoroutine == null)
|
||||||
{
|
//{
|
||||||
isScale = true;
|
// isScale = true;
|
||||||
currentCoroutine = StartCoroutine(Merge(distance));
|
// currentCoroutine = StartCoroutine(Merge(distance));
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnDown()
|
private void OnDown()
|
||||||
|
|
@ -77,15 +77,15 @@ public class PostureController : MonoBehaviour
|
||||||
if (distance <= 200f)
|
if (distance <= 200f)
|
||||||
{
|
{
|
||||||
distance = 200f;
|
distance = 200f;
|
||||||
currentCoroutine = null;
|
//currentCoroutine = null;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
satelliteImagery.orthographicSize = distance;
|
||||||
if (currentCoroutine == null)
|
//if (currentCoroutine == null)
|
||||||
{
|
//{
|
||||||
isScale = true;
|
// isScale = true;
|
||||||
currentCoroutine = StartCoroutine(Merge(distance));
|
// currentCoroutine = StartCoroutine(Merge(distance));
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
private IEnumerator Merge(float targetPoint)
|
private IEnumerator Merge(float targetPoint)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue