As suggested by Bolt JasonJonesLASM,
I try to start a macro from runtime with the following code:
this.flowMachine = this.AddComponent<FlowMachine>(); flowMachine.nest.source = GraphSource.Macro; flowMachine.nest.macro = myMacro; flowMachine.nest.Instantiate(); flowMachine.enabled = true;
But I got this exception:
InvalidOperationException: Cannot change nested graph source after instantiation.
Ludiq.GraphNest`2[Bolt.FlowGraph,Bolt.FlowMacro].set_source (GraphSource value)
Found on Unity 1.0f3, Bolt 1.2.3, MacOS 10.12.4
Customer support service by UserEcho