Skip to content

Instantly share code, notes, and snippets.

@ronyx69
Last active April 12, 2017 22:03
Embed
What would you like to do?
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