Table of Contents

Class LoadSceneAtStart

Namespace
CodeBase.Samples
Assembly
4Experience.CodeBase.Samples.dll

Simple component loads a specified scene at the start of the game loop. It use name of the scene to load. The scene is loaded in the Start MonoBehaviour method using SceneManager.LoadScene. Scene loading delay could be set.

public class LoadSceneAtStart : ExtendedMonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
LoadSceneAtStart
Extension Methods

Properties

Delay

private float Delay { get; set; }

Property Value

float

SceneName

private string SceneName { get; set; }

Property Value

string

Methods

LoadScene()

private IEnumerator LoadScene()

Returns

IEnumerator

Start()

protected virtual void Start()