Skip to content

Instantly share code, notes, and snippets.

@ronyx69
Last active April 12, 2017 22:03
Show Gist options
  • Save ronyx69/abb111c52f573ec31784ab31c8dacbb9 to your computer and use it in GitHub Desktop.
Save ronyx69/abb111c52f573ec31784ab31c8dacbb9 to your computer and use it in GitHub Desktop.
Sets tags for props/decals for ploppable asphalt.
//asphalt props
var asset = ToolsModifierControl.toolController.m_editPrefabInfo as PropInfo;
asset.m_mesh.name="ploppableasphalt-prop";
//asphalt decal
var asset = ToolsModifierControl.toolController.m_editPrefabInfo as PropInfo;
asset.m_mesh.name="ploppableasphalt-decal";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment