Author Topic: NGUI and uSequencer  (Read 2245 times)

oriam

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
NGUI and uSequencer
« on: May 16, 2016, 04:07:19 PM »
Hi Aren and community, I hope you are doing fine.

I am having compatibility problems between NGUI 3.9.8 and uSequencer 1.5.1.1 (under Unity 5.3.2), when targeting Windows Store Apps 8.1. I know that this is not a problem with NGUI as it is, but maybe someone has some insight on the root of the problem. I have already posted in the uSequencer forum.

I have found that uSequencer can not animate (at least) the alpha component of an NGUI object in WSA. This happens only on the actual device, not on the editor. All the animations play fine in Android / WebPlayer / Windows standalone / WebGL. The only problem is in WSA 8.1.

I have already created a blank project with NGUI and uSequencer to ensure that some other code is not the cause of the problem.

I hope you can help with this problem.
Thanks in advance.
Oriam

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI and uSequencer
« Reply #1 on: May 18, 2016, 05:00:39 AM »
To animate alpha / color, you should use AnimatedAlpha / AnimatedColor components. I've said it a million times -- the fact that Unity exposes private fields to an animator is a long-standing bug in Unity itself. NGUI's interaction is done via properties, not fields.