Author Topic: The name `trim' does not exist in the current context  (Read 3455 times)

AGB

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 74
    • View Profile
    • Steam Defense
The name `trim' does not exist in the current context
« on: February 04, 2014, 03:39:23 AM »
When switching to Flash:
Assets/NGUI/Scripts/Internal/UIDrawCall.cs(461,37): error CS0103: The name `trim' does not exist in the current context
I'm a busy man... I have places to go,monsters to kill...

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: The name `trim' does not exist in the current context
« Reply #1 on: February 04, 2014, 03:47:23 AM »
Thanks, wrap it in an #ifdef:
  1. #if !UNITY_FLASH
  2.                                 if (trim || !alwaysOnScreen)
  3. #endif