|
|
|
@ -60,6 +60,13 @@ namespace CameraRoll.Client.Tool {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static void SetPointsVisible(bool visible) {
|
|
|
|
|
foreach (GameObject point in PathPoints) {
|
|
|
|
|
point.SetActive(visible);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void Play() {
|
|
|
|
|
if (_playing) return;
|
|
|
|
|
|
|
|
|
@ -69,6 +76,7 @@ namespace CameraRoll.Client.Tool {
|
|
|
|
|
_pointIndex = 0;
|
|
|
|
|
_interpolationState = 0.0f;
|
|
|
|
|
|
|
|
|
|
SetPointsVisible(false);
|
|
|
|
|
_playing = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -78,6 +86,8 @@ namespace CameraRoll.Client.Tool {
|
|
|
|
|
|
|
|
|
|
_cam.transform.localPosition = _originalPosition;
|
|
|
|
|
_cam.transform.localRotation = _originalRotation;
|
|
|
|
|
|
|
|
|
|
SetPointsVisible(true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static void Clear() {
|
|
|
|
|