I saw this comment in the code:
// This line may be kind of slow ... is there any other way to do this?
List turretList = Pool.GetList<SamSite>();
I do not know if this is more efficient, but might be worth testing:
SamSite[] turretList = UnityEngine.Object.FindObjectsOfType<SamSite>() as SamSite[];
Let me know as if it is less efficient I will give your method a try.
// This line may be kind of slow ... is there any other way to do this?
List turretList = Pool.GetList<SamSite>();
I do not know if this is more efficient, but might be worth testing:
SamSite[] turretList = UnityEngine.Object.FindObjectsOfType<SamSite>() as SamSite[];
Let me know as if it is less efficient I will give your method a try.