// Amplify Texture - Massive Virtual Texturing for Unity Pro
// Copyright (c) Amplify Creations, Lda <info@amplify.pt>

using System;
using UnityEngine;

[AddComponentMenu( "" )]
public class AmplifyTextureRuntime : AmplifyTextureCameraBase
{
#if UNITY_EDITOR
	void Awake()
	{
		UnityEngine.Object[] objs;
		objs = Resources.FindObjectsOfTypeAll( typeof( AmplifyTextureRuntime ) );
		if ( objs.Length > 0 )
		{
			string list = "";
			for ( int i = 0; i < objs.Length; i++ )
				list += objs[ i ].name + ( i < objs.Length - 1 ? ", " : "" );

			Debug.LogWarning( "[AmplifyTexture] The component AmplifyTextureRuntime is now AmplifyTextureCamera. Please replace it in the following cameras: " + list );
		}
	}
#endif
}
