sdk-component-implementation

Implement new Decentraland SDK components with C# systems and Unity registration.

23|17|Updated Apr 16, 2023
One-click install
npx skills add https://github.com/decentraland/unity-explorer --skill sdk-component-implementation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sdk-component-implementation
Source: https://github.com/decentraland/unity-explorer/tree/main/.claude/skills/sdk-component-implementation
Command: npx skills add https://github.com/decentraland/unity-explorer --skill sdk-component-implementation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the complex process of implementing new SDK components within the Decentraland ecosystem, ensuring consistency and adherence to established patterns.

Core Features & Use Cases

  • End-to-End Implementation: Guides you from protocol definition to C# system implementation for new SDK components.
  • Component Registration: Details how to register new components in the ComponentsContainer and StaticContainer.
  • System Patterns: Explains lifecycle, properties, and cleanup system patterns for robust component behavior.
  • Use Case: When a new feature requires a custom component (e.g., a new type of interactive object), this Skill provides the exact steps to define its protocol, generate code, implement it in Unity, and test it.

Quick Start

Follow the steps in the SKILL.md file to implement a new SDK component, starting with the protocol definition.

Frequently Asked Questions about sdk-component-implementation

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

FAQPage Schema
How do I implement a new SDK component in Decentraland from protocol to Unity?

You implement SDK components by defining protobuf types, developing C# systems, and registering them in the Unity explorer's ComponentsContainer. This end-to-end implementation covers protocol definition, CRDT component creation, and ECS world integration for scene-to-explorer communication.

What is the process for defining protobuf types for Decentraland ECS components?

Defining protobuf types for Decentraland ECS components is the starting point for SDK implementation, establishing the protocol for scene-to-explorer communication. This protocol definition step generates the code needed before developing C# systems and registering CRDT components.

How do I register a new CRDT component in the Unity explorer ComponentsContainer?

You register a new CRDT component in the ComponentsContainer and StaticContainer during the C# system development phase. Proper component registration within the Unity explorer ensures the new SDK component integrates correctly with the ECS world.

Can I use C# lifecycle and cleanup system patterns for Decentraland SDK components?

Yes, you can use C# lifecycle, properties, and cleanup system patterns for robust Decentraland SDK component behavior. These system patterns are essential for managing the end-to-end implementation and ensuring proper cleanup within the Unity explorer ECS world.

Do I need Unity and protobuf to create custom interactive objects in Decentraland?

Yes, you need Unity and protobuf to create custom interactive objects, as the implementation requires defining protobuf types for the protocol and developing C# systems in the Unity explorer. This ensures proper integration with the ComponentsContainer and ECS world.