Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: Andrew.Lukasik on May 18, 2013, 06:56:28 AM
-
Set Property action can't reach Line Renderer's specific parameters. Is it a bug or am I missing something?
-
Hi,
What specific parameter? I just tried, and I have everything listed it seems.
bye,
Jean
-
Hi,
I want to reach properties like Positions, Start/End Width and Colors. Are you seeing them?
-
Hi,
I see, it's simply because they are not properties, you only define them by calling methods ( SetPosition(), SetWidth,SetColors())
So, yeah, these would need special actions, it's outside the scope of get/set property.
bye,
Jean
-
Thank you for explaining that I didn't know.
It just seemed natural to be able to access them that way. Playmaker probably should take advantage of that when drag-and-dropping by maybe suggesting not only Get/Set Property but also yet another proper action.
-
hi,
that's one problem indeed, that's where custom actions comes in. Also This is something that the Unity Api should expose as properties, but it's always a difficult situation, because when scripting, that never is a problem, it's only when you want to add an abstraction layers that some API becomes difficult/impossible to port properly in a visual environment. Vectrosity is a typical example cause it follows the same API patterns, using very powerful method signatures, which makes it impossible to expose properly visually ( almost impossible)
bye,
Jean