Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: AGB on February 04, 2014, 03:39:23 AM

Title: The name `trim' does not exist in the current context
Post by: AGB 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
Title: Re: The name `trim' does not exist in the current context
Post by: ArenMook on February 04, 2014, 03:47:23 AM
Thanks, wrap it in an #ifdef:
  1. #if !UNITY_FLASH
  2.                                 if (trim || !alwaysOnScreen)
  3. #endif