static void FixPlaneNames(string planeName)
{
if (string.IsNullOrEmpty(planeName))
{
planeName = “Plane”;
}
List planes = (from g in UnityEngine.Object.FindObjectsOfType() where g.name.Contains(planeName) select g).ToList();
}
But this will not get for example objects that the name is plaNe or plane or PLANE or plane or pLaNe
How can i make that it will get all the cases plane is written ?