playMaker

Author Topic: Get App Path action  (Read 4066 times)

Sly

  • Full Member
  • ***
  • Posts: 123
Get App Path action
« on: December 16, 2015, 11:30:38 AM »
Hello folks,

I made a custom action for getting your app path.
This action is giving you:
-Data path
-Application Folder
-PersistentDataPath
-And get the platform you are on, and save it as string (so you can make branches in your fsm regarding platform).

I hope it will help you in your creation.  :)
Enjoy

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get App Path action
« Reply #1 on: December 21, 2015, 01:52:42 AM »
Hi,

 This is great! care to put it on the Ecosystem? I can do it for you if want.

I made a video showing how to add to the Ecosystem easily:


 Bye,

 Jean

Sly

  • Full Member
  • ***
  • Posts: 123
Re: Get App Path action
« Reply #2 on: December 21, 2015, 09:33:55 AM »
Hello,

Because of all the help and time you gave to use, I will do it with pleasure!

Because I'm not a professional coder, and I'm not the only one, I was wondering If our code needs to be review by you or other member of the team before committing this to the eco system? I don't want to scrap people project with memory leak or other "not well optimize" action.

For this one, It should be alright I guess because it's just checking path and platform.

Anyway, c'est un plaisir de contribuer Jean :)

Update: Ok, it's on the eco system, and I can get it to my project. The only problem I have is the ecosystem is not checking if I already have this action in my project folder (locate to different folder than PlayMaker Custom Actions).
It's just an advice but if the eco system can tell us we already have this action in other playmaker action folder, it could be great I guess.
« Last Edit: December 21, 2015, 10:01:33 AM by Sly »

stigma

  • Full Member
  • ***
  • Posts: 176
Re: Get App Path action
« Reply #3 on: August 25, 2019, 04:52:35 AM »
Where is this video ?

I can not use. A few explanations please
« Last Edit: August 25, 2019, 04:55:17 AM by stigma »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get App Path action
« Reply #4 on: August 29, 2019, 07:04:49 AM »
Hi,

 I am checking why the video is gone, that's odd.



 basically, you get the ecosystem browser here:

https://hutonggames.fogbugz.com/f/page?W1181

once you have it, you can search for that action and get it directly

Bye,

 Jean