跳到主要内容
知仓学习社ZHICANG

unity-manual-material

Manually create and edit Materials and assign them to objects using Unity Editor UI. For one-off material tweaks that do not need REST automation.

不碰外部(只输出文字)无严重或高危命中Besty0728/Unity-Skills

它会碰到什么

扫了多少1 个文本文件,3 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Triggers

  • Creating a new Material asset
  • Changing a material color or shader
  • Dragging a material onto a MeshRenderer or Mesh

Manual Material Tasks

Step-by-step instructions for Material operations inside the Unity Editor. Paths assume the default English Unity UI; translate the labels into the user's Unity language when replying.

When to guide manually vs automate

Guide manually when the user can finish the task in 3 clicks or fewer: creating one Material, picking a color, or assigning a Material to one object.

Automate when the task involves bulk material creation, batch property edits, shader keyword toggles across many materials, or render-queue changes — use the [material](../material/SKILL.md) REST module instead.

Create a Material asset

Step 1 — Open the create menu in the Project window

Right-click in the Project window, then choose Create > Material.

Alternative path:

  • Main menu Assets > Create > Material

Step 2 — Name the Material

Type the new name and press Enter.

Change the Material color

Step 1 — Select the Material

Click the Material asset in the Project window.

Step 2 — Edit the Base Color / Albedo

In the Inspector:

  • For URP/HDRP Lit shaders, click the Base Map color swatch (or Base Color field).
  • For Built-in Standard, click the Albedo color swatch.
  • Pick a color in the color picker and close it.

Change the shader

Step 1 — Select the Material

Select the Material asset in the Project window.

Step 2 — Change Shader

At the top of the Inspector, click the Shader dropdown and choose a shader (e.g., Universal Render Pipeline > Lit, Standard, Unlit/Color).

The available shader list depends on the active render pipeline and installed packages.

Assign a Material to an object

Step 1 — Drag the Material

Click and drag the Material asset from the Project window.

Step 2 — Drop it onto the object

Drop the Material onto:

  • The object in the Scene view.
  • The object's entry in the Hierarchy.
  • The Material slot in the Mesh Renderer component in the Inspector.

Create and assign a Material quickly

Step 1 — Drag the Material

Drag a Material asset from the Project window.

Step 2 — Drop it onto a blank Project folder

Hold Ctrl (or follow the on-screen modifier hint) while dropping if you want to duplicate the Material instead.

Automate instead?

If the user wants to edit many Materials, set exact numeric properties, swap shaders in bulk, or assign Materials to many objects, switch to the REST module:

  • [material](../material/SKILL.md)

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 1,753
本站分层T1
该仓技能数83
原文件路径SkillsForUnity/unity-skills~/skills/manual-material/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 83 个技能