Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tags a rotors shader vehicle sub mesh for Rotors FlipXZ mod.
// FlipXZ Script
// Tags a rotors shader vehicle sub mesh for Rotors FlipXZ mod.
var subMesh = 1; // vehicle sub mesh id, starting from 1
var asset = ToolsModifierControl.toolController.m_editPrefabInfo as VehicleInfo;
asset.m_subMeshes[subMesh].m_subInfo.m_UIPriority = 120122;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment