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:
Playmaker 1.9.1 Released!
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Unity 2019.2: Directives not working
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Unity 2019.2: Directives not working (Read 1589 times)
Rebooter
Playmaker Newbie
Posts: 21
Unity 2019.2: Directives not working
«
on:
August 31, 2019, 04:14:51 AM »
I'm trying to use the GetAnimatorCurrentStateInfo action in Unity 2019.2 (Playmaker 1.9.0.p18). The directive at the top of the source file:
#if UNITY_5_3_OR_NEWER || UNITY_5
#define UNITY_5_OR_NEWER
#endif
doesn't seem to be working. None of the fields with the '#if UNITY_5_OR_NEWER' directive are visible on the action's inspector.
Edit: I copied the action to a new file and edited out all of the defines and it works, but I don't understand why the original doesn't work.
«
Last Edit: September 01, 2019, 11:21:54 AM by Rebooter
»
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Unity 2019.2: Directives not working
«
Reply #1 on:
November 12, 2019, 01:33:16 AM »
Hi,
I checked and it worked, maybe you were using a beta version? I have 2019.2.9f1 and all is good.
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Unity 2019.2: Directives not working