Deploying a prefab?
Discussion in 'Rust Development' started by DylanSMR, Mar 8, 2016.
-
find the full prefab name and specify the position you want it placed
example;
Code:string name = "assets/prefabs/deployable/woodenbox/woodbox_deployed.prefab"; Vector3 pos = new Vector3(); BaseEntity entity = GameManager.server.CreateEntity(name, pos); entity.Spawn(true);
