Table of Contents

Class

Namespace
CoreFramework

Abstract base class for game asset configurations used in the Flyweight pattern. Stores the reusable data, such as prefab references, that can be shared between game objects. Inherits from ScriptableObject to allow easy creation and management of shared data assets in Unity. Implements ISharedData to mark it as compatible with shared data interfaces.

public abstract class GameAssetConfig : ScriptableObject, ISharedData
Inheritance
object
Implements
Extension Methods

Fields

prefab

The prefab associated with this game asset configuration. This is a shared resource used to instantiate game objects with the same characteristics.

public GameObject prefab

Field Value

GameObject