1
0
mirror of https://github.com/originalnicodr/CinematicUnityExplorer.git synced 2026-10-10 21:13:15 +08:00

Added buttons to pause and continue the path, stop the path from playing, and created UI for each new node on the path.

Each Node UI includes a button to Move the node position and orientation to the camera one, copy camera FoV on the node, move the cam position and orientation to the node, and delete the node.
This commit is contained in:
originalnicodr
2023-02-26 23:15:40 -03:00
parent 4eb84fba8b
commit c347bfcf68
2 changed files with 90 additions and 6 deletions
+14
View File
@@ -461,6 +461,20 @@ namespace UnityExplorer
currentPoint = 0;
playingPath = true;
}
public void Stop(){
currentPoint = 0;
playingPath = false;
}
public void Pause(){
playingPath = false;
}
public void Continue(){
if(currentPoint < ExplorerCore.CameraPathsManager.GetPoints().Length)
playingPath = true;
}
}
/*