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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user