Reply To: FlowCanvas should be able to Tick(Update) manually

FlowCanvas Forums Support FlowCanvas should be able to Tick(Update) manually Reply To: FlowCanvas should be able to Tick(Update) manually

#443
donaldw
Participant

Not quite right.

In my opinion, the interfaces should be like this:

FlowScriptManager.UpdateMode = FlowCanvasUpdateMode.Manual; // 0.1. change the update mode via FlowScriptManager
FlowScriptController.UpdateMode = FlowCanvasUpdateMode.Manual; // 0.2. either 0.1 or 0.2 is ok, but NOT both.
FlowScriptManager.Update(); // 1. manually update all registered flow scripts. this is the MOST important interface I want.
oneFlowScriptController.Update();// 2.1 manually update one speicific flow script
FlowScriptManager.Update(oneFlowSript); // 2.2 either 2.1 or 2.2 is ok, but NOT both.