playMaker

Author Topic: Enable Behaviour action - Can't choose Sprite  (Read 2208 times)

jess84

  • Hero Member
  • *****
  • Posts: 515
Enable Behaviour action - Can't choose Sprite
« on: August 18, 2014, 01:01:35 PM »
Enable Behaviour action, I can choose my object's GUI Texture or GUI Text no problem, but you can't enable/disable Sprite Renderer. (it's fine with dragging the component onto the Component field, but on the dropdown for Behaviour, sprite renderer isn't an option!)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Enable Behaviour action - Can't choose Sprite
« Reply #1 on: August 17, 2015, 12:37:34 AM »
Hi,

 Simply because it's not a Behavior. You won't access any "xxxRenderer" for example,  the "Transform" is also not something accessible this way.

If you want to disable a Sprite, simply disable the GameObject, is that not possible in your case?

 Bye,

 Jean