Table of Contents

Namespace CodeBase.Samples

Classes

CodeBaseSamplesConstants

An example of using the project custom constants class with the CodeBase InspectorConstants.

CurveLineRendererExample

An example of a Bezier curve drawing implementation using the LineRenderer component.

LoadSceneAtStart

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.

ProjectScriptableObjectExample

An example of creating ScriptableObject with the CodeBase InspectorConstants.

ProjectToolbarExample

An example of using MenuItem (Unity toolbar item) with the CodeBase InspectorConstants.

ShowCurrentDeploymentEnvironment

Simple component display on UI the current deployment environment name set during build process. The current deployment environment is fetched from the DeploymentEnvironmentSettings scriptable object.

SimpleAttribute

An example of a simple attribute proper implementation.

SimpleLogCaller

A class that tests the operation of the Logger and Sentry tool associated with the project. At a specified time interval, it sends logs of a random type.

SimplePropertyDrawer

An example of a simple property drawer implementation. It is possible to preview how to make a custom property drawer script.