The difficulty is increased because the 2nd “Creating Event Nodes” example documentation for FlowCanvas, regarding custom events that have a type of object you can equip doesn’t function, so I can’t work out how all of that comes together (e.g. if value is getting the ‘MyComponent’ (or whatever that would be)), etc.
Also I can’t use the “public override void Attached()” inside the custom event as it says the “Attached” namespace isn’t valid.
Note that I’d like to use ‘Transform.GetComponent<BoltEntity>().GetState<IState>()’ (with Transform as the MyComponent value) because I believe that’s required for the ‘Bolt.EntityBehaviour<()> section to function. At the very least I needed that elsewhere.
I’m trying to make it as generic as possible so I can use it for all my entity’s required using Photon Bolt.
Thanks a lot for your response, hoping the above can help find some way to solving this, even if you could just give a more functional example for the second Custom Event type shown in the FlowCanvas documentation.
Login
Register
By registering on this website you agree to our Privacy Policy.