{
DrawGizmo(true);
// if this object is selected there is a chance the transform was changed so update culling info
DecalSystem.instance.UpdateCachedData(this);
DecalSystem.instance.UpdateCachedData(transform, m_DrawDistance, m_FadeScale, m_Handle);
}
public void OnDrawGizmos()
// for compatibility with old code
public void UpdateCachedData(DecalProjectorComponent decal)
UpdateCachedData(decal.transform, decal.m_DrawDistance, decal.m_FadeScale, decal.Handle);
public void BeginCull()
foreach (var pair in m_DecalSets)