playMaker

Author Topic: change Static Float C#  (Read 1217 times)

Yoshi1234

  • Playmaker Newbie
  • *
  • Posts: 11
    • View Profile
change Static Float C#
« on: March 24, 2016, 07:43:17 PM »
Does anyone know how to change static float in C#?
I tried to use set property but static float value didnt appear.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3905
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: change Static Float C#
« Reply #1 on: March 24, 2016, 11:56:13 PM »
We don't have Get/Set Static Property actions yet. Hopefully soon... For now you'd need a custom action.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15483
  • Official Playmaker Support
    • View Profile
Re: change Static Float C#
« Reply #2 on: March 25, 2016, 02:09:14 AM »
Hi,

 A typical example of action using static methods is "GetKey". I would duplicate this one to have a base to create your own actions.

Bye,

 Jean