AutoTile


Declaration

public sealed class AutoTile : MonoBehaviour

Description

Automatically tiles the material's textures based on the object's scale.

Properties

rendererThe renderer component of the material being tiled (Read only).
submeshesThe submeshes that are tiled on the renderer.
textureNamesThe names of the textures that are tiled on the material.
autoUpdateWhether the material texture(s) are tiled automatically when the transform changes.

Methods

TileUpdates the tiling properties of the material(s) based on the current scale of the object.