---
description: >-
  Not everything is needed in every project. Follow this guide to import the
  samples you need for your project!
---

# COZY Samples

As of COZY 3.1.0, this asset uses the Unity Package Manager (UPM) for organization and imports. One positive aspect of this change is the addition of sample support.

## Understanding Samples in Unity Package Manager

Samples in Unity Package Manager are pre-made assets or code segments provided by package developers. These samples illustrate how to use a particular package or feature within your Unity project. They serve as both educational tools for learning how packages work and as starting points for integrating functionality into your games or applications.

### **Purpose of Samples**

Samples are used for:

* **Demonstration:** They show how a package can be implemented in a project, demonstrating best practices and potential use cases.
* **Learning:** For users unfamiliar with a package, samples provide a hands-on way to explore its capabilities and functionalities.
* **Quick Integration:** Samples can be directly imported into your project, speeding up the development process by offering pre-made solutions.

### **How to Access Samples**

1. Open the Unity Editor and go to `Window > Package Manager`.
2. Select the COZY package from the list.
3. Click "Import" next to a sample to add it to your project.

<figure><img src="https://2041269432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrqKsGNTyQFMrNJSWMHS0%2Fuploads%2Fy9i1VHh8JeDrPy1vWXT4%2Fimage.png?alt=media&#x26;token=43df80dd-6ebe-4b9e-beaa-3f6d4fb2cb95" alt=""><figcaption></figcaption></figure>

## Sample Packages

### Core Samples

Contains several demo scenes displaying the functions of the core modules of COZY.

### Biome Samples

Contains a simple demo scene set up with four different biomes showcasing the biome modules and transitions.

### UI Samples

Contains a few UI images and scripts that showcase how to hook COZY up to your UI canvases.

### Fog Cards (URP)

Shader package that allows for 3D placeable fog cards in your scene. URP support only.

### Legacy Integrations

Adds support for older versions of third-party shader integrations
