playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
[SOLVED] activate/deactivate a game object component
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [SOLVED] activate/deactivate a game object component (Read 3340 times)
santelia
Junior Playmaker
Posts: 78
[SOLVED] activate/deactivate a game object component
«
on:
June 16, 2012, 05:48:35 AM »
I need to deactivate the Audio Listener component of a camera, and reactivate it further subject to certain conditions.
How can I deactivate/activate a component of a game object with a PM action?
«
Last Edit: June 25, 2012, 09:11:20 AM by Alex Chouls
»
Logged
kiriri
Hero Member
Posts: 506
Re: activate/deactivate a game object component
«
Reply #1 on:
June 16, 2012, 01:15:35 PM »
you can use the enable behaviour action for that. Or just drag the component from the inspector onto the state action panel and go set property, then inherited -> enabled.
Logged
Best,
Sven
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
[SOLVED] activate/deactivate a game object component