Graffiti Spot - BRCMapStation/Docs GitHub Wiki
Graffiti
What does it do
Adds a 'GraffitiSpotPrefab' in your Unity scene. You can select the size of graffiti you need under the 'Graffiti' drop menu. This allows you to place a spot where you can graffiti in game.
Configuration
When adding a graffiti spot, you need to generate an Uid for it, else it won't work and crash your game.
The area on which the graffiti will be displayed is previewed by a pink rectangle over your mesh, essentially being a projection.
You might also want to uncheck the "Report As Crime" box, if you don't want players getting heat for tagging the spot.
Projection techniques
By default, the graffiti projection is a flat plane. This means that on uneven surfaces the decal will not wrap around properly around the geometry:
Notice how the cube that's protruding out of the wall goes through the projection.
This can be fixed by opening the graffiti object, and changing the "Technique" value on the Easy Decal components of the "topGraffiti" and "bottomGraffiti" objects to "Box":
The graffiti should now properly wrap around any kind of geometry
Watch out!
YOU NEED to generate an Uid for each graffiti you add, always make sure to do it!