playMaker

Author Topic: New convert actions between string and vector2 vector3 rect quaternion and color  (Read 2097 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15060
  • Official Playmaker Support
    • View Profile
Hi,

 Had to do a lot of work with string parsing and variables so I added many missing conversion actions:

The color conversion will allow you to define color using int ranging from 0 to 255 ( Color32) or a float( 0 to 1).

ConvertColorToString
ConvertQuaternionToString
ConvertRectToString
ConvertVector2ToString
ConvertVector3ToString

ConvertStringToBool
ConvertStringtoColor
ConvertStringToQuaternion
ConvertStringToRect
ConvertStringToVector2
ConvertStringToVector3

You can find them on the ecosystem as well.

 Bye,

 Jean

600

  • Beta Group
  • Hero Member
  • *
  • Posts: 622
    • View Profile
    • Flashing Lights
Awesome thanks!

Very usefull for sending vector3 as string via rpc :)
Before there was many variables to get and convert and build the string for sending,
thanks again!