playMaker

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

JieAlan

  • Playmaker Newbie
  • *
  • Posts: 24
[SOLVED] How to share template file between projects
« on: September 22, 2014, 04: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, 08:58:42 AM by Lane »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: How to share template file between projects
« Reply #1 on: September 23, 2014, 12:48:19 AM »
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: 24
Re: How to share template file between projects
« Reply #2 on: December 09, 2014, 04: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: 15500
  • Official Playmaker Support
Re: [SOLVED] How to share template file between projects
« Reply #3 on: January 19, 2015, 03: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