Author Topic: flash + unity 4.3b5 error  (Read 2409 times)

atmuc

  • Guest
flash + unity 4.3b5 error
« 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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: flash + unity 4.3b5 error
« Reply #1 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.