1. 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);
     
  2. hitobject.ShortPrefabName