So I trying to get names of entity that a raycast hit. So far it gives me the name but in long form like assets/prefabs/deployable/signs/sign.pictureframe.xl.prefab
I was wondering how do you get it shortened like rifle bullets are rifle.bullets
Code:var hitobject = hit.GetEntity(); Puts(hitobject.gameObject.name);
Solved Getting short entity name?
Discussion in 'Rust Development' started by cookiecool, Feb 3, 2018.