Author Topic: Low framerate problem.  (Read 1257 times)

oolblue

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Low framerate problem.
« on: September 24, 2014, 01:54:55 AM »
button.tweener.delay = 0.04f;
button.tweener.duration = 0.04f;
button.tweener.PlayForward();

this code is no problem in high framerate (at least 30fps).
but if framerate under 20fps, button is not appear (both game-view and scene-view).
I modify button's position in game running (little bit), suddenly it is appear.
i have many time debugging, i cannot found any problem in my code.
what is problem?

my unity version is 4.5.0f6, and ngui is 3.7.2.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Low framerate problem.
« Reply #1 on: September 24, 2014, 01:55:04 PM »
Let me guess... scaling from scale of 0? Zero is invalid scale.