06-09-2016, 07:53 PM
The CGDataReference is a helper to get a module's output data, because output slots aren't serialization safe for Unity, i.e. no ScriptableObjects. The inspector allows you to browse for module's output slots and the CGDataReference stores the module and the name of the output slot and builds the reference at runtime.
Assigning it should be possible at runtime as well, but I'm currently in vacation and can't test it. I'll check that next week and give you a detailed answer then.
Assigning it should be possible at runtime as well, but I'm currently in vacation and can't test it. I'll check that next week and give you a detailed answer then.