probuilder-set-face-material

Apply materials to selected ProBuilderMesh faces in the Unity Editor.

Updated May 3, 2026
One-click install
npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill probuilder-set-face-material
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: probuilder-set-face-material
Source: https://github.com/RakameNouya/MR-Bab_10_and_Kel_3/tree/main/.gemini/skills/probuilder-set-face-material
Command: npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill probuilder-set-face-material

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manually assigning materials to the faces of ProBuilderMeshes is time-consuming and inefficient. This skill simplifies the process, enabling you to apply different materials to specific faces in a single operation.

Core Features & Use Cases

  • Selective Material Assignment: Applies materials to specific faces or according to direction (e.g., top, side, etc.).
  • Mesh Reconstruction: Automatically rebuilds and refreshes the mesh after applying the materials.
  • Use Case: Use this skill to create a multi-material ProBuilderMesh, such as a mesh with grass on top and dirt on the sides, without manual adjustment.

Quick Start

Apply the 'Grass.mat' material to the top faces of the ProBuilderMesh with the command: 'assign material to faces: faceDirection="up" material="Grass.mat"'

Frequently Asked Questions about probuilder-set-face-material

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I assign materials to specific faces on a ProBuilder mesh in Unity?

To assign materials to specific faces on a ProBuilder mesh, you can use explicit face indices or semantic face directions like "up" or "side" to apply different materials in a single operation. The mesh is then automatically rebuilt and refreshed within the Unity Editor.

Can I apply different materials to the top and sides of a ProBuilderMesh automatically?

Yes, you can apply different materials to the top and sides of a ProBuilderMesh automatically by using the semantic face direction feature, such as assigning a grass material to the top faces and dirt to the sides without manual adjustment.

What is the best way to create a multi-material ProBuilder mesh without manual face selection?

The best way to create a multi-material ProBuilder mesh without manual face selection is by targeting faces through semantic directions or explicit indices, which rebuilds the mesh and applies the specified materials efficiently in one operation.

Does this material assignment tool work outside the Unity Editor during gameplay?

No, this material assignment tool does not work outside the Unity Editor during gameplay. It is specifically designed for use within the Unity Editor during mesh modification workflows to rebuild and refresh the ProBuilderMesh.

How do I assign a material to ProBuilder faces using a specific direction like up?

To assign a material to ProBuilder faces using a specific direction, use the command syntax with faceDirection and material parameters, such as faceDirection="up" material="Grass.mat", which applies the material to the top faces and rebuilds the mesh.

Why does manually assigning materials to ProBuilder mesh faces take so long?

Manually assigning materials to ProBuilder mesh faces takes time because you must select each face individually, whereas using a semantic direction or explicit face index approach applies materials to multiple specific faces in a single automated operation.