playMaker

Author Topic: [SOLVED] How to share template file between projects  (Read 1007 times)

JieAlan

  • Playmaker Newbie
  • *
  • Posts: 23
    • View Profile
[SOLVED] How to share template file between projects
« on: September 22, 2014, 01:27:12 AM »
I learned PalyMaker for a while,
I just wanna know how to share my template between projects;
cause you know everybody don't wanna edit a same things times and times;
mabye we can export a package;but it will include every PlayMaker action into the package.
so ,how can I handle this,any guys can tell me,thanks!
« Last Edit: December 11, 2014, 06:58:42 AM by Lane »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13526
  • Official Playmaker Support
    • View Profile
Re: How to share template file between projects
« Reply #1 on: September 22, 2014, 09:48:19 PM »
Hi,

 yes, export as a package.

 -- Keep the actions, they are redistributable
 -- REMOVE THE PLAYMAKER DLL, as you are not allow to redistribute it.

 and you are good to go.

note: IF YOU ARE USING GLOBAL VARIABLES, you must export global variables (from playmaker menu), and include the specifically created asset for it. When importing that package, you'll then have to import the globals ( again accessible from the menu).

I generally strongly advice against the use of global variables in templates, but I agree it's very practical in some cases.

 Bye,

 Jean

JieAlan

  • Playmaker Newbie
  • *
  • Posts: 23
    • View Profile
Re: How to share template file between projects
« Reply #2 on: December 09, 2014, 02:35:08 AM »
hi,jeanFabre

   I try your way,it works! global variables works fine also.

   but I still need to find and select all needed actions, it 's not so quick,I know that's unity functions.

   thanks!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13526
  • Official Playmaker Support
    • View Profile
Re: [SOLVED] How to share template file between projects
« Reply #3 on: January 19, 2015, 01:03:05 AM »
Hi,

 I wrote some scripts to select all custom actions, but it works only for a scene, not for a template.

 Can you bump me early february? I'll have a look.

 Bye,

 Jean