Kanda Players 0.7.0
Loading...
Searching...
No Matches
Transitions

This page describes how we handle visual transitions during content loading.

Key Components

MainCamera Prefab

The MainCamera prefab (Assets/Prefab/MainCamera) includes:

  • FadeManager prefab from io.kanda.graphics package
  • Handles fade effects on the player camera
  • Coordinates with the content loading system

Place this in any session or lobby scene that you want to have default camera behaviour.

ContentLoadTransition Prefab

The ContentLoadTransition prefab (Assets/Prefabs/ContentLoadTransition):

  • Creates a loading environment while content loads
  • Manages fade effects before content activation
  • Automatically cleans up loading visuals when content is ready

Place this prefab in your session scene to have content loading transitions.

How It Works

  1. When content loading begins, the ContentLoadTransition prefab initializes
  2. The prefab displays a loading environment while content loads in the background
  3. Once content is ready, the system initiates a fade via the FadeService
  4. The content scene activates during the fade
  5. Finally, the system fades back in to reveal the loaded content

Best Practices

  • Use the MainCamera prefab for default fade handling
  • Use the ContentLoadTransition prefab for default content loading transitions