// Use this for initialization
	void Start()
	{
		return;

		var Models = RSCModelHandler.GetModels();

		//	this.GetComponent<GameObject>();
		if (string.IsNullOrEmpty(ModelName))
		{
			ModelName = "tree";
		}
		if (Material == null)
		{
			var shader = Shader.Find(" Vertex Colored");

			Material = new Material(shader);
		}
		if (Models != null && Models.Any())
		{
			model = Models.FirstOrDefault(m => m.ModelName.ToLower().Contains(ModelName.ToLower()));

			AddMeshCollider();
		}

	}
	bool MakeSureWeHaveAModel()
	{
		if (model == null || targetMesh == null)
		{
			var Models = RSCModelHandler.GetModels();
			if (string.IsNullOrEmpty(ModelName)) return false;
			if (Models != null && Models.Count > 0)
			{
				model = Models.FirstOrDefault(m => m.ModelName.ToLower().Contains(ModelName.ToLower()));
				if (model != null)
				{
					targetMesh = model.GetMesh();

					AddMeshCollider();
					return true;
				}
			}
		}
		else if (model != null && targetMesh != null)
		{
			return true;
		}
		return false;
	}