Script for creating your own theme decals.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|// You MUST use a unique diffuse texture (put whatever texture in it) to avoid unforeseen consequences!|
|// Import a decal or a big decal as usual and run this script using the texture tag you want:|
|var asset = ToolsModifierControl.toolController.m_editPrefabInfo as PropInfo;|
|asset.m_mesh.name="themedecal-grass"; //CHANGE THE TAG HERE|