Playmaker Forum

PlayMaker News => General Discussion => Topic started by: ramones on March 06, 2013, 04:37:42 PM

Title: Removing components I won't use in Playmaker (iTween)
Post by: ramones on March 06, 2013, 04:37:42 PM
Hi,

Is there any possibility to remove iTween from PlayMaker? I would like to use HoTween and iTween lib weights almost 300kb. Is this possible?

Thanks in advance.
Title: Re: Removing components I won't use in Playmaker (iTween)
Post by: Alex Chouls on March 06, 2013, 05:28:44 PM
Going forward add-ons will be much easier to add/remove. For example, you can remove all references to Photon by deleting the Photon Unity Networking folder.

iTween however is a little messier:

1. Open the PlayMaker/Editor/FsmComponentInspector.cs
2. Comment out #define iTweenPathEditing
3. Delete the PlayMaker/Actions/iTween folder
4. Delete PlayMaker/Include/iTweenFsmEvents.cs
5. Delete the iTween folder

That should completely remove iTween.

I hope to rework this so it works more like the Photon integration. Just delete one folder :)

However, this is complicated by the Asset Store having no way to remove files from a previous installation... :-/
Title: Re: Removing components I won't use in Playmaker (iTween)
Post by: ramones on March 06, 2013, 05:50:52 PM
Thanks a lot for this.
Title: Re: Removing components I won't use in Playmaker (iTween)
Post by: Alex Chouls on March 06, 2013, 06:34:36 PM
No problem.

I've also added this to the wiki:
https://hutonggames.fogbugz.com/default.asp?W624

So let me know if the steps need tweaking at all when you follow them...

Thanks!
Title: Re: Removing components I won't use in Playmaker (iTween)
Post by: jess84 on April 06, 2014, 05:50:09 PM
Hi Alex,

I've just found this post as I'm wanting to remove iTween...  however I'm failing at step 2 as I've searched but found no reference to iTween in 'FsmComponentInspector.cs'.

Has the method for removing iTween and dependencies changed?
Title: Re: Removing components I won't use in Playmaker (iTween)
Post by: jeanfabre on April 07, 2014, 07:03:14 AM
Hi,

 yes, it's been improved, so you don't need to mess with the first two steps. I updated the procedure on that troubleshooting page.

bye,

 Jean