Sequine - Scripting API
Calcatz.CookieCutter.CrossSceneBindingUtility Class Reference

A utility class to manage cross-scene binded components. A cross-scene component can be obtained by specifying the binder asset. More...

Static Public Member Functions

static void Bind (UnityEngine.Object _binderAsset, UnityEngine.Object _sceneObject)
 
static void RemoveBinding (UnityEngine.Object _binderAsset, UnityEngine.Object _sceneObject)
 
static UnityEngine.Object GetObject (UnityEngine.Object _binderAsset)
 
static T GetObject< T > (UnityEngine.Object _binderAsset)
 
static bool TryGetObject< T > (UnityEngine.Object _binderAsset, out T _object)
 
static UnityEngine.Object[] GetObjects (UnityEngine.Object _binderAsset)
 
static T[] GetObjects< T > (UnityEngine.Object _binderAsset)
 

Detailed Description

A utility class to manage cross-scene binded components. A cross-scene component can be obtained by specifying the binder asset.

Member Function Documentation

◆ Bind()

static void Calcatz.CookieCutter.CrossSceneBindingUtility.Bind ( UnityEngine.Object  _binderAsset,
UnityEngine.Object  _sceneObject 
)
static

◆ GetObject()

static UnityEngine.Object Calcatz.CookieCutter.CrossSceneBindingUtility.GetObject ( UnityEngine.Object  _binderAsset)
static

◆ GetObject< T >()

static T Calcatz.CookieCutter.CrossSceneBindingUtility.GetObject< T > ( UnityEngine.Object  _binderAsset)
static

◆ GetObjects()

static UnityEngine.Object[] Calcatz.CookieCutter.CrossSceneBindingUtility.GetObjects ( UnityEngine.Object  _binderAsset)
static

◆ GetObjects< T >()

static T[] Calcatz.CookieCutter.CrossSceneBindingUtility.GetObjects< T > ( UnityEngine.Object  _binderAsset)
static

◆ RemoveBinding()

static void Calcatz.CookieCutter.CrossSceneBindingUtility.RemoveBinding ( UnityEngine.Object  _binderAsset,
UnityEngine.Object  _sceneObject 
)
static

◆ TryGetObject< T >()

static bool Calcatz.CookieCutter.CrossSceneBindingUtility.TryGetObject< T > ( UnityEngine.Object  _binderAsset,
out T  _object 
)
static