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
) »
How to Set FsmEnum Type in Custom Action?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to Set FsmEnum Type in Custom Action? (Read 2879 times)
tcmeric
Beta Group
Hero Member
Posts: 768
How to Set FsmEnum Type in Custom Action?
«
on:
February 23, 2017, 07:56:31 AM »
Hi,
How can I set the enum type in a custom action?
I can set the enum variable like this:
Quote
public FsmEnum Enum;
But in the playmaker inspector, I get "Enum Type" set to none. I would like to set the type.
Sorry I searched the forums and could not find an answer or an example in the actions in playmaker. Very cool we can use Enum in playmaker. Handy.
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: How to Set FsmEnum Type in Custom Action?
«
Reply #1 on:
February 23, 2017, 08:24:51 AM »
Hi,
check the existing actions, like SetLightType:
[ObjectType(typeof(LightType))]
public FsmEnum lightType;
Bye,
Jean
Logged
tcmeric
Beta Group
Hero Member
Posts: 768
Re: How to Set FsmEnum Type in Custom Action? [Solved]
«
Reply #2 on:
February 23, 2017, 08:52:51 AM »
Very cool!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
How to Set FsmEnum Type in Custom Action?