Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Skywatch

Pages: [1]
1
Support / Persistent tk2dUIItem message targets
« on: October 16, 2013, 09:05:27 pm »
Hello, guys!

I've checked that some part of the tk2dUIItem editor prevents the user from assigning a persistent gameobject as its event target.

Although this makes sense in some scenarios, in others it does not. For instance, I have a button prefab with a tk2dUIItem which, when clicked, should call a method on itself. Since it is a prefab, therefore saved to disk, your editor code does not let me assign itself as it's message target.

I have edited the tk2dUIItemEditor code to allow this, but I'm afraid it gets overriden in future updates and my project's  prefabs' logic gets broken. Could you guys take a look at and rethink this situation?

Thank you in advance,

Mateus Azis
Skwyatch Games

Pages: [1]