playMaker

Author Topic: Removing components I won't use in Playmaker (iTween)  (Read 4411 times)

ramones

  • Playmaker Newbie
  • *
  • Posts: 42
Removing components I won't use in Playmaker (iTween)
« 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.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
  • Official Playmaker Support
    • LinkedIn
Re: Removing components I won't use in Playmaker (iTween)
« Reply #1 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... :-/

ramones

  • Playmaker Newbie
  • *
  • Posts: 42
Re: Removing components I won't use in Playmaker (iTween)
« Reply #2 on: March 06, 2013, 05:50:52 PM »
Thanks a lot for this.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
  • Official Playmaker Support
    • LinkedIn
Re: Removing components I won't use in Playmaker (iTween)
« Reply #3 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!

jess84

  • Hero Member
  • *****
  • Posts: 515
Re: Removing components I won't use in Playmaker (iTween)
« Reply #4 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?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Removing components I won't use in Playmaker (iTween)
« Reply #5 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