playMaker

Author Topic: Show/Hide Activate/Deactivate Visible/Invisible  (Read 3126 times)

threedavid

  • Playmaker Newbie
  • *
  • Posts: 18
Show/Hide Activate/Deactivate Visible/Invisible
« on: January 30, 2013, 07:53:43 PM »
Apologies if this questions has been covered.

I'm currently using Activate Game Object action to show/hide my game object. The trouble with this is that I think there's a bit of a load issue when objects are made to show.

I've tried using Set Visibility, but can't get it to work. Is there a secret to this action? OR is there a way to show/hide game objects without having to unload/load them in game. I just want to control a game ojbects visibility.

David

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Show/Hide Activate/Deactivate Visible/Invisible
« Reply #1 on: January 31, 2013, 12:30:32 AM »
Hi,

ok, we need some context here :)

 Unity 3 or Unity 4?

Also, showing/hiding is not the same as activating/deactivating a gameObject. Can you precise?

bye,

 Jean

Sjones

  • Full Member
  • ***
  • Posts: 203
Re: Show/Hide Activate/Deactivate Visible/Invisible
« Reply #2 on: January 31, 2013, 11:59:30 AM »
if you are just concernd about making an object invisible (collision and other scripts on the object will work work and continue!) then you can use the set property function and turn mesh rendering off, the object is then already in the scene invisible, turning it on will render the mesh