Mask
World dissolve scripts automatically handle logic when you add a mask. These scripts adjust Type and all other properties based on the world dissolve script's settings.
Properties and Functions
These are divided into two groups: internal (don't use them) and user-exposed (available for you to adjust). Properties with "INTERNAL:" are for internal use only.
User-Exposed Properties
Other
maskSettings: Controls the mask's visual guides and collision.
colliderScale: Scales the collider relative to the mask size.
Solid Angle Properties
angle: Defines the angle of the solid cone mask.
angle Adjust: Adjusts collider size and preview based on the angle.
Round Cone Properties (Preview Not Supported)
radius Adjust: Adds an offset to the round cone collider's radius.
start Transform: Defines the starting point of the round cone mask.
end Transform: Defines the ending point of the round cone mask.
User-Exposed Functions
UpdateCollider() - Updates the collider based on the mask type.
DestroyCollider() - Destroys the existing collider.
AddRoundConeTransforms() - Creates start and end transforms for round cone masks.
DestroyRoundConeTransforms() - Destroys the transforms created for round cone masks.
Last updated