playMaker

Author Topic: Get Audio Pitch  (Read 729 times)

600

  • Sr. Member
  • ****
  • Posts: 492
    • View Profile
    • Car and Traffic Playmaker assets
Get Audio Pitch
« on: July 09, 2015, 11:20:52 AM »
Hi, needed to get a pitch value for audio so I edit the SetAudioPitch action.

« Last Edit: July 16, 2015, 05:57:56 AM by 600 »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Get Audio Pitch
« Reply #1 on: July 16, 2015, 04:07:09 AM »
Hi,

 thanks for your contribution.

 you define your variable behavior using the attribute:

Code: [Select]
[UIHint(UIHint.Variable)]
simply look it up any actions you have on your project that "get" something.

 typically, I never remember all these attributes, and everytime I create a new action, I duplicate one that is the closest, and so for your case, you could study actions like getChildCount for example.

Bye,

 Jean

600

  • Sr. Member
  • ****
  • Posts: 492
    • View Profile
    • Car and Traffic Playmaker assets
Re: Get Audio Pitch
« Reply #2 on: July 16, 2015, 05:58:32 AM »
Hi, thanks for tips, fixed it :)