assets-material-create

Create Unity Material assets with default parameters and automatic folder creation.

Updated Feb 4, 2024
One-click install
npx skills add https://github.com/sprillion/gem_td --skill assets-material-create-sprillion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-material-create
Source: https://github.com/sprillion/gem_td/tree/main/SKILLS/assets-material-create
Command: npx skills add https://github.com/sprillion/gem_td --skill assets-material-create-sprillion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps Unity developers quickly create Material assets with standard defaults and ensures necessary folder structure is created automatically, reducing setup time and errors.

Core Features & Use Cases

  • Create new Material assets with default parameters suitable for immediate use in Unity projects.
  • Create folders recursively as needed to organize assets and avoid manual folder creation steps.
  • Validate shaderName and provide guidance via the assets-shader-list-all tool to ensure compatibility with the target shader.

Quick Start

Create a new Material asset at the specified assetPath using the provided shaderName.

Frequently Asked Questions about assets-material-create

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

FAQPage Schema
How do I automate Unity material creation with default settings?

You can automate Unity material creation by supplying an assetPath and shaderName, which generates a Material asset with default parameters while automatically creating necessary folders. This eliminates manual setup and reduces errors in Unity project workflows.

Can I create Unity project folders automatically when generating materials?

Yes, you can create Unity project folders automatically when generating materials by specifying the assetPath. The folder structure is created recursively as needed, ensuring your new Material asset is organized correctly without manual folder creation steps.

What do I need to provide to create a Unity material asset programmatically?

You need to provide an assetPath and a shaderName to create a Unity material asset programmatically. The assetPath must follow a valid format, and the shaderName is validated to ensure compatibility with the target shader in your Unity project.

How do I check available shaders before creating a Unity material?

To check available shaders before creating a Unity material, you can use the assets-shader-list-all tool for guidance. This ensures the shaderName you supply is valid and compatible, preventing errors during the Material asset generation process.

Does this approach validate the assetPath format for Unity materials?

Yes, this approach validates the assetPath format for Unity materials before proceeding. It checks the path structure and the provided shaderName, then creates folders recursively as needed to return a valid Material asset reference.