Table of Contents

Namespace S1API.Utils

Classes

ArrayExtensions

Extensions for Arrays. This class is intended for public use by mod developers.

ButtonUtils

Utility helpers for managing Unity UI UnityEngine.UI.Buttons. This class is intended for public use by mod developers.

ColorUtils

Utilities for the UnityEngine.Color class. This class is intended for public use by mod developers.

ImageUtils

A utility class to assist with loading images into the game. Useful for icons such as on phone apps, custom NPCs, quests, etc. This class is intended for public use by mod developers.

RandomUtils

A utility class providing random selection functionality for lists and numeric ranges. This class is intended for public use by mod developers.

ReflectionUtils

Provides reflection-based utility methods for mod developers.

ToggleUtils

Utilities for subscribing to and managing Toggle value change events in a cross-compatible way between Mono and IL2CPP. Handles Unity versions where Toggle.onValueChanged is exposed as either a field or a property. This class is intended for public use by mod developers.

TransformUtils

Utilities for working with Unity UnityEngine.Transform hierarchies. This class is intended for public use by mod developers.