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:
Download the
Ecosystem Browser
to find new actions, samples. etc.
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
OnEnable & OnDisable function
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: OnEnable & OnDisable function (Read 2110 times)
3d_Artist1987
Beta Group
Full Member
Posts: 157
OnEnable & OnDisable function
«
on:
June 22, 2015, 07:57:50 AM »
Hi,
How to do below code in playmaker?
void OnEnable()
{
button.transform.localPosition = postioon1;
}
void OnDisable()
{
button.transform.localPosition = postioon2;
}
Dev
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: OnEnable & OnDisable function
«
Reply #1 on:
June 23, 2015, 08:42:03 AM »
Hi,
you can't do anything on disable within PlayMaker afaik.
There is no point in moving a disabled gameobject, can you explain what you are after?
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
OnEnable & OnDisable function