Skip to content

Instantly share code, notes, and snippets.

@boformer
Created December 13, 2020 19:29
Show Gist options
  • Save boformer/89ea1146379a3282101c7a85876033ce to your computer and use it in GitHub Desktop.
Save boformer/89ea1146379a3282101c7a85876033ce to your computer and use it in GitHub Desktop.
var prefab = PrefabCollection<NetInfo>.FindLoaded("Metro Station Track Elevated 01");
prefab.m_availableIn = ItemClass.Availability.AssetEditor;
prefab.m_placementStyle = ItemClass.Placement.Manual;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment