Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: blackant on July 24, 2018, 04:17:24 AM
-
Hello,
i would like to use FsmEnum in my action, but i don't to have All Unity choice, only those related to my action
How can i do it ?
-
Hi,
you need to define the type of enum you want to use. It's like a sub-type.
Have you checked existing actions and see how it's defined? for example SetLigthType:
[ObjectType(typeof(LightType))]
public FsmEnum lightType;
Bye,
Jean
-
thanks, i have fund, it may require using UnityEngine.Something behind to get the right function.