PlayMaker Help & Tips > iOS Help

Component Caching

(1/1)

ratamorph:
In the FAQ says Playmaker caches components, however I was inspecting the code for the actions that come with Playmaker and none of them cache their components.

Is there a special section or package for iOS? doing go.transform every frame is terrible for performance on mobile devices.

I guess I could modify all the actions but then when an update rolls I'd have a hard time merging changes and such.

jeanfabre:
Hi,

Maybe you could simply make new versions and submit them to the "share custom actions" board. Append to the action some version like v2 or _mob or something, that's what I do when I want to optimize some standard actions and survive updates.

ideally, someday, we will have versionning and online repositories or custom actions where these cases will be just a brease to deal with.

Bye,

 Jean

Alex Chouls:
Playmaker actions tend to cache the components that Unity doesn't provide properties for. I keep hearing that property calls like transform are already cached by Unity, but I haven't had a chance to run tests to profile this...

I know some of this caching was added in newer versions.

Have you run tests to check that caching transform improves performance in current versions of Unity? If it does, we'll definitely do a pass on all actions to cache these properties...

Lars Steenhoff:
Yea this interesting, hope someone has the time to check if performance can be improved a bit, anything helps for mobile :)

Navigation

[0] Message Index

Go to full version