Table of Contents

IsMain

Properties
public bool IsMain { get; }

Determines if this bridge is the main one.

Property Value
Type Description
bool
Remarks

A main bridge (or master bridge) represents the principal connection or scene in the game. It's set to DontDestroyOnLoad() and has higher resolution priority.

Features like scene transitioning (see SceneManager) rely on the idea of a main bridge for orchestrating the transitioning.

See Also