PlayMaker Feedback > Action Requests

Get Color Variable's Hex Value as a String?[SOLVED]

<< < (2/2)

Fat Pug Studio:

--- Quote from: Broken Stylus on September 21, 2018, 04:21:21 PM ---Ah very nice!
But... you coded.   :'(

--- End quote ---

Not really, calling method with parameters can hardly be called coding   ;D

westingtyler:
well, fancy coding or not, it requires users to understand more than just how playmaker works, which partially defeats the point of using playmaker, but also presents a potential learning opportunity.

does this work now? someone had an issue with it, but it would be cool to use if it works.

jeanfabre:
Hi,

 ok, I made conversion actions from hex to color using the Unity 2017 ColorUtility class, the action are be flexible enough to let you add # and check if the hex if valid as well.

ConvertHexToColor

ConvertColorToHex



Bye,

 Jean

Navigation

[0] Message Index

[*] Previous page

Go to full version