Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: kritprim on July 02, 2014, 10:44:14 AM

Title: NGUI 3.6.6 'UnityEngine.Camera' does not contain definition for `GetAllCameras'
Post by: kritprim on July 02, 2014, 10:44:14 AM
NGUI 3.6.6 error
Assets/NGUI/Scripts/Internal/NGUITools.cs(218,43): error CS0117: `UnityEngine.Camera' does not contain a definition for `GetAllCameras'

please help-me to solve this
Title: Re: NGUI 3.6.6 'UnityEngine.Camera' does not contain definition for `GetAllCameras'
Post by: N3uRo on July 02, 2014, 11:20:15 AM
http://docs.unity3d.com/ScriptReference/Camera.GetAllCameras.html

Are you using Unity 4.5? It can be an API change.
Title: Re: NGUI 3.6.6 'UnityEngine.Camera' does not contain definition for `GetAllCameras'
Post by: kritprim on July 02, 2014, 02:13:43 PM
yes i am using unity 4.5
Title: Re: NGUI 3.6.6 'UnityEngine.Camera' does not contain definition for `GetAllCameras'
Post by: ArenMook on July 03, 2014, 04:36:24 AM
If you're using Unity 4.5, then you should have it as you can see it there in the API documentation N3uRo linked. Double-check your Unity version.