Im trying to do a map editor and when you save its saves every object x,y,z value but wanna get the first three charters on the object name for id. When i load the map im gonna check the id and spawn the prefab on the x,y,z position. example
001_BigEnemy //i wanna get 001
002_SmallEnemy //i wanna get 002
plz answer or come up with a better solution.