Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: brunoroma on May 29, 2014, 04:29:45 AM

Title: [ERROR] Unity 4.5.0 on MAC NGUI(3.6.1c)
Post by: brunoroma on May 29, 2014, 04:29:45 AM
NGUI(3.6.1c)

Assets/NGUI/Scripts/Editor/NGUIContextMenu.cs(443,36): error CS0309: The type `Camera' must be convertible to `UnityEngine.Component' in order to use it as parameter `T' in the generic type or method `UnityEngine.GameObject.GetComponent<T>()'
Title: Re: [ERROR] Unity 4.5.0 on MAC NGUI(3.6.1c)
Post by: ArenMook on May 29, 2014, 04:42:02 AM
Means you have your own class called "Camera" that conflicts with Unity's Camera class.