playMaker

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

Sly

  • Full Member
  • ***
  • Posts: 111
    • View Profile
Get App Path action
« on: December 16, 2015, 09: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: 14593
  • Official Playmaker Support
    • View Profile
Re: Get App Path action
« Reply #1 on: December 20, 2015, 11:52:42 PM »
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: 111
    • View Profile
Re: Get App Path action
« Reply #2 on: December 21, 2015, 07: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, 08:01:33 AM by Sly »

stigma

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

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14593
  • Official Playmaker Support
    • View Profile
Re: Get App Path action
« Reply #4 on: August 29, 2019, 04: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