skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
besty0728/unity-skills75 installs

unity-decal

Create and configure URP Decal Projectors

How do I install this agent skill?

npx skills add https://github.com/besty0728/unity-skills --skill unity-decal
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides a set of tools for managing Unity URP Decal Projectors within a Unity project. It allows for creating, configuring, and listing decals safely.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

Decal Skills

URP Decal Projector creation and configuration. URP only: the HDRP decal APIs are not covered here. Parameters come from the schema (GET /skills/schema?category=Decal&wire=v2); execution and dryRun rules: root SKILL.md.

When to use

  • Adding decals in URP
  • Configuring a Decal Projector
  • Enabling the Decal Renderer Feature

Rules

  • Call decal_ensure_renderer_feature before assuming the current URP renderer is decal-ready; it returns alreadyExists: true when the feature is present, so it is safe to repeat.
  • Use decal_get_info or decal_find_all to read the real projector state before editing.
  • decal_set_properties applies only the fields you pass; any invalid value rejects the whole call before anything is written.
  • When URP is not installed, every skill returns a stub { error: "Universal Render Pipeline package … is not installed." } (RenderPipelineSkillsCommon.NoURP()). It is a diagnostic payload, not a permission denial.
  • For renderer feature management in general, use the urp module.

Pitfalls

  • decal_get_info and decal_set_properties need at least one locator (name, entityId, instanceId or path); an empty call is refused rather than reported as "not found".
  • decal_set_properties_batch expects items as a JSON array string.

Skills

decal_create

Create a Decal Projector.

ParameterTypeRequiredDefaultDescription
namestringNo"Decal Projector"Name of the new GameObject
materialPathstringNonullDecal material asset path; left unassigned when omitted
xfloatNo0World position X
yfloatNo0World position Y
zfloatNo0World position Z

decal_get_info

Inspect a Decal Projector.

ParameterTypeRequiredDefaultDescription
namestringNo*nullGameObject name
entityIdstringNo*nullGameObject entity ID (preferred; the only id on Unity 6000.4+)
instanceIdintNo*0GameObject instance ID
pathstringNo*nullGameObject hierarchy path

* Supply at least one locator — an empty call is refused up front rather than reported as "not found".

decal_set_properties

Modify Decal Projector properties. Every property below is applied only when supplied, so a call changes exactly the fields you name; any invalid value rejects the whole call before anything is written.

ParameterTypeRequiredDefaultDescription
namestringNo*nullGameObject name
entityIdstringNo*nullGameObject entity ID (preferred; the only id on Unity 6000.4+)
instanceIdintNo*0GameObject instance ID
pathstringNo*nullGameObject hierarchy path
materialPathstringNonullDecal material asset path
drawDistancefloatNonullMax distance at which the decal is drawn
fadeScalefloatNonullFraction of drawDistance at which fading starts
fadeFactorfloatNonullOverall opacity multiplier
startAngleFadefloatNonullAngle (degrees) where angle-based fading begins
endAngleFadefloatNonullAngle (degrees) where angle-based fading completes
uvScalestringNonullUV tiling as "x,y"
uvBiasstringNonullUV offset as "x,y"
sizestringNonullProjector box size as "x,y,z"
pivotstringNonullProjector pivot offset as "x,y,z"
renderingLayerMaskuintNonullRendering layer mask bits
scaleModestringNonullScaleInvariant or InheritFromHierarchy (other values, including bare numbers, are rejected)

decal_find_all

List Decal Projectors in the scene.

ParameterTypeRequiredDefaultDescription
limitintNo50Max projectors returned

decal_delete

Delete a Decal Projector GameObject.

ParameterTypeRequiredDefaultDescription
namestringNo*nullGameObject name
entityIdstringNo*nullGameObject entity ID (preferred; the only id on Unity 6000.4+)
instanceIdintNo*0GameObject instance ID
pathstringNo*nullGameObject hierarchy path

decal_set_properties_batch

Batch-edit Decal Projectors.

ParameterTypeRequiredDefaultDescription
itemsjson stringYes-JSON array of {name, instanceId, path, entityId, materialPath, drawDistance, fadeScale, fadeFactor, startAngleFade, endAngleFade, uvScale, uvBias, size, pivot, renderingLayerMask, scaleMode} — same per-item keys as decal_set_properties

decal_ensure_renderer_feature

Ensure the target URP renderer has a DecalRendererFeature.

ParameterTypeRequiredDefaultDescription
assetPathstringNonullURP asset path; the active URP asset is used when omitted
rendererIndexintNo-1Renderer index within the URP asset; -1 selects the asset's default renderer
rendererDataPathstringNonullUniversalRendererData asset path — takes precedence over rendererIndex, and must belong to the resolved URP asset

Returns alreadyExists: true when the feature was already present, so the call is safe to repeat.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/besty0728/unity-skills/unity-decal">View unity-decal on skillZs</a>