More actions
Spacewarp>ShadowDev No edit summary |
m 4 revisions imported |
||
(No difference)
|
Latest revision as of 17:46, 9 October 2024
the UniverseModel contains everything that the game knows about.
How to get a Vessel by name using UniverseModel
VesselComponent vesselComponent = GameManager.Instance.Game.UniverseModel.GetAllVessels().Where((vessel) => vessel.Name == "Vessel Name Here").First();