ok so i am making a program to group all created units accordint to atributes in terran units terrans structures protoss etc. if i run a huge if then multiple that checks each unit against all unit types to figure out where it goes will it produce mass amounts of lag?
ok so i am making a program to group all created units accordint to atributes in terran units terrans structures protoss etc. if i run a huge if then multiple that checks each unit against all unit types to figure out where it goes will it produce mass amounts of lag?
no, for each unit in the group it will check it against all unit types till it finds a match