Need Help with set Component on Canvas

eagleeyez 3 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 3

What I need to do

  • Pressing the c key to switch from screen space camera to world space camera.
  • So, how do I set the render mode component on the canvas?
  • This is most probably very easy but my brain just cannot work it out in Bolt. I need the Aha effect.
  • Thanks to anyone who can help
Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):

No one got an idea?

In PlayMaker I do this: 1. Add a set property to the state. 2. Drag the canvas component to the set property 3. Select render mode and choose which one I like.  That’s it. Before Unity 2017 you could even just drag the canvas to the state and that was it.

So how do I please do this in Bolt.

Ok, I found it. I was looking for GetComponent and Set. All I needed was direct rendermode.


Yup, you never need Get/Set component units with Bolt, because it's included in the automatic conversion system. More info here (scroll to "Automatic Conversion"): http://support.ludiq.io/topics/150-connections-relations/