Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: atmuc on October 14, 2013, 02:02:09 AM

Title: flash + unity 4.3b5 error
Post by: atmuc on October 14, 2013, 02:02:09 AM
i get this errors;

Assets/NGUI/Scripts/UI/UICamera.cs(552,73): error CS0206: A property or indexer may not be passed as an out or ref parameter
Assets/NGUI/Scripts/UI/UICamera.cs(552,53): error CS1502: The best overloaded method match for `UICamera.IsVisible(ref UICamera.DepthEntry)' has some invalid arguments
Assets/NGUI/Scripts/UI/UICamera.cs(552,53): error CS1503: Argument `#1' cannot convert `object' expression to type `UICamera.DepthEntry'

can you check if they are related with you?
Title: Re: flash + unity 4.3b5 error
Post by: ArenMook on October 14, 2013, 09:58:39 AM
Unity has abandoned Flash. They will support the current functionality through the 4.X cycle, but they won't be fixing such issues as this. Unity 5 will drop Flash support altogether.

Regardless, you can get it working by removing the "ref" part from both the function call, and the function itself. It's just an optimization.