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