Unity Decal logo

Unity Decal

CommunityPopular
Besty0728
unity-decal

Create and configure URP Decal Projectors

Overview

PublisherBesty0728
RepositoryUnity-Skills
Skill nameunity-decal
Stars
1.8K
Forks
164
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Besty0728 on GitHub. Read the source before you install it.

Installation

Install the Unity Decal AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.

Use it in TypingMind

Enable Unity Decal in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Unity Decal on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Unity Decal is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Before calling any skill in this module: if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via GET /skills/recommend?includeSchema=true) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.

Triggers

  • Adding decals in URP
  • Configuring a Decal Projector
  • Enabling the Decal Renderer Feature
  • 在 URP 中添加贴花、配置 Decal Projector、启用 Decal Renderer Feature

Decal Skills

URP Decal Projector creation and configuration (URP only; HDRP decal APIs are not covered here).

Operating Mode

  • Query skills (decal_get_info, decal_find_all) are SkillMode.SemiAuto — they run in all three modes without grant.
  • Mutating skills (decal_create, decal_set_properties, decal_set_properties_batch, decal_ensure_renderer_feature) are SkillMode.FullAuto — under Approval they need user grant (grant triggers one server-side execute returning the result); under Auto / Bypass they execute directly.
  • decal_delete carries SkillOperation.Delete and is auto-forbidden in Approval / Auto modes (NeverInSemi). Only Bypass or the user-managed Allowlist can run it.

URP Package Stub

This module is compiled against com.unity.render-pipelines.universal (URP). When URP is not installed, every skill returns a stub { error: "Universal Render Pipeline package … is not installed." } (RenderPipelineSkillsCommon.NoURP()). The stub is a diagnostic payload, not a permission denial — it does not require grant and is not treated as NeverInSemi.

Guardrails

Routing:

  • For renderer feature management in general: urp
  • For DecalProjector scene operations: this module

Runtime-first rules:

  • Call decal_ensure_renderer_feature before assuming the current URP renderer is decal-ready
  • Use decal_get_info / decal_find_all to discover real projector state before editing
  • decal_set_properties_batch expects items to be a JSON array string
  • This module targets the URP Decal workflow first; do not assume HDRP decal APIs are covered here

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
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.

ParameterTypeRequiredDefaultDescription
namestringNo*nullGameObject name
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

decal_find_all

List Decal Projectors in the scene.

ParameterTypeRequiredDefaultDescription
limitintNo50Max projectors returned

decal_delete

Delete a Decal Projector GameObject.

ParameterTypeRequiredDefaultDescription
namestringNo*nullGameObject name
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, 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.


Exact Signatures

Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.

Frequently asked questions

What does the Unity Decal AI skill do?

Create and configure URP Decal Projectors

Why use Unity Decal on TypingMind?

Because you install it once and use it with any model. Unity Decal is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Unity Decal in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Besty0728/Unity-Skills/tree/main/SkillsForUnity/unity-skills~/skills/decal. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Unity Decal?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Unity Decal?

As many as you like. As long as a model supports skills, you can use Unity Decal with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Unity Decal AI skill free?

Yes. It is published on GitHub by Besty0728 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇