Hi,
I have an array which is populated with transforms like this:
var attackerClonesArray = new List.<Transform>();
I am trying to find the index number of a transform in the array by searching for it’s name.
I am getting the transform name like this:
var thisTransformName : String;
thisTransformName = transform.name;
My goal is to then erase that transform from the array. I’ve tried an number of solutions such as index and other stuff but can’t seem to quite get it.
Any suggestions?
Thanks
Paul