Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: JieAlan on September 22, 2014, 04:27:12 AM

Title: [SOLVED] How to share template file between projects
Post by: JieAlan 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!
Title: Re: How to share template file between projects
Post by: jeanfabre 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
Title: Re: How to share template file between projects
Post by: JieAlan 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!
Title: Re: [SOLVED] How to share template file between projects
Post by: jeanfabre 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