PlayMaker Help & Tips > PlayMaker Help

Unity 4.5 and Tooltip Attribute

<< < (2/2)

Alex Chouls:
Unity script uses "import" instead of "using." You could try substituting "import" for "using" in the tooltip alias, but I'm not sure offhand if unity script supports aliasing of types...

If it doesn't you can change "Tooltip" to "HutongGames.PlayMaker.Tooltip" wherever it's used in the js file.

jwvanderbeck:
FYI I just discovered that the built in Custom Action Wizard generates broken code after this change.  You have to manually add the using statement.

Navigation

[0] Message Index

[*] Previous page

Go to full version