Currently, I am able to reference a flow node with a UnityCallbackPause, get access to any object attached to it, as well as getting multiple values from this object template.
For example, here is how i get access to a value of type String:
- Code: Select all
Scope scope = flowElement.Attachments[0] as Scope;
ScopeUI.cardiac = scope.Template.Scope.CardiacRythm.ToString();
However, I am now trying to acces a value of type VideoClip/Video which I created in Articy without any problem (I can even access it through Unity's clip search), but I cannot find a way to convert ArticyObject into a VideoClip, or making Unity accept it through code. As this video is subject to change, I need to access it dynamicaly.
Does anyone have a solution for this? Do you think I should be doing it another way?
Also don't hesitate to ask for more precisions, I can be confusing when explaining my problems.