many-realities-studio / realityflow-old

GNU Affero General Public License v3.0
2 stars 1 forks source link

Implemented graph creation, loading, and deletion #83

Closed Iminance closed 3 years ago

Iminance commented 3 years ago

Updating graphs between all clients is the next step.

To test this PR: Make sure to check out both the submodule and main repo pull requests. In the VR scene (best tested with VR for button pressing on the whiteboard), Enter play mode before opening the RF window.

  1. Create a new RF project
  2. Create a number of new VSGraphs, give them any name.
  3. Click on the created GameObjects to make sure the name you set is on the graph instances in the inspector.
  4. Exit the project and make sure the graph GameObjects get destroyed.
  5. Reload the project to see the graphs get re-created.
  6. On the whiteboard, hit the load graph button and select a graph you created. After hitting confirm, make sure the Runtimegraph object on the whiteboard has your selected graph in the inspector.

Cases not yet handled/tested: Since we will at some point have whiteboards only exist when in a RF project (as they are not needed outside of one), I'm not sure what happens if you load a graph on a whiteboard and then exit the project. Similarly, if you load a graph and then delete the graph from the project, I am not sure what happens to the whiteboard, but this will be handled once we get updates going.

Closes #62