protected override void OnUpdate() { DestroyOldGameObjects(); if (SimAssetBankInstance.Ready) { CreateNewGameObjects(SimAssetBankInstance.GetLookup()); } }
public static GameObject FindSimAssetPrefab(SimAssetId simAssetId) { return(SimAssetBankInstance.GetLookup().GetSimAsset(simAssetId)?.gameObject); }