playMaker

Author Topic: Can't access public variables with "set property"  (Read 1104 times)

kwint

  • Playmaker Newbie
  • *
  • Posts: 11
Can't access public variables with "set property"
« on: July 21, 2020, 06:50:53 PM »
Hello !

I would like to modify some values from the ThirdPersonCharachter.cs unity standard asset script. In this case, the "Moving Turn Speed"

Normally, I would use the action "Set property". But this time, I don't know why, no options related to the public variables from this script are displayed ?

Any help ould be greatly appreciated !

Thanks in advance !



patheticorganic

  • Playmaker Newbie
  • *
  • Posts: 11
Re: Can't access public variables with "set property"
« Reply #1 on: August 21, 2020, 01:15:19 PM »
Hey, I'm having the same problem. Did you happen to find a workaround?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Can't access public variables with "set property"
« Reply #2 on: August 24, 2020, 02:29:33 AM »
Hi,

 can you share the script and where you define that pubic variable?

Bye,

 Jean

SawyerK

  • Junior Playmaker
  • **
  • Posts: 93
Re: Can't access public variables with "set property"
« Reply #3 on: August 24, 2020, 09:06:44 AM »
You can drag and drop the script inside the state and change it that way or you can use a Get Component and then Set Property.