playMaker

Author Topic: [SOLVED] "Tooltip" reference issue with PauseControllerActivator  (Read 2306 times)

Breadman

  • Full Member
  • ***
  • Posts: 185
  • Derp
[SOLVED] "Tooltip" reference issue with PauseControllerActivator
« on: December 31, 2015, 02:21:09 AM »
Hello everyone! It's been a LONG time! I am (once again) attempting to upgrade my project from Unity 4.x to 5.x. The PlayMaker update worked really well. Tackling the other compiler errors one by one, it's actually going pretty good so far, but I've encountered something PlayMaker-related that I'm not sure how to fix. The compiler is showing me two errors:

Assets/PlayMakerPauseSupport/PlayMakerActions/Time/PauseControllerActivator.cs(6,2): error CS0246: The type or namespace name `Tooltip' could not be found. Are you missing a using directive or an assembly reference?

Assets/PlayMakerPauseSupport/PlayMakerActions/Time/PauseControllerActivator.cs(6,2): error CS0104: `TooltipAttribute' is an ambiguous reference between `UnityEngine.TooltipAttribute' and `HutongGames.PlayMaker.TooltipAttribute'


Sadly, because the project has been on standby for so long, I can't remember if PauseControllerActivator was a custom PlayMaker action I downloaded or if it came with PlayMaker! If possible, I'd really like to keep using it in my project. Can anyone offer any assistance on how I could modify it to clear up the compiler error? I have a feeling I might have less luck if it's a custom third party PlayMaker action, but if anyone has any suggestions please let me know! Thanks and Happy New Year! Hehe
« Last Edit: December 31, 2015, 02:38:07 AM by Breadman »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4001
  • Official Playmaker Support
    • LinkedIn
Re: "Tooltip" reference issue with PauseControllerActivator
« Reply #1 on: December 31, 2015, 02:28:52 AM »
Unity 4.5 added its own Tooltip attribute which conflicted with Playmaker's.

Check out this topic for the fix:
http://hutonggames.com/playmakerforum/index.php?topic=7454.msg36017

Welcome back and Happy New Year!!

Breadman

  • Full Member
  • ***
  • Posts: 185
  • Derp
Re: "Tooltip" reference issue with PauseControllerActivator
« Reply #2 on: December 31, 2015, 02:37:54 AM »
Worked like a charm. Thanks!  ;D