CustomAssets
Askowl Custom Assets
CustomAsset.GameObject Class Reference

Float CustomAsset contains a float value which can be connected directly to OnValueChange callbacks in UI slider and scrollbar components. Connect it to event listeners to interact with components such as Animation, Text or Unity. Or add listeners to your own classes with Register(this) More...

Inheritance diagram for CustomAsset.GameObject:
CustomAsset.Mutable.OfType< UnityEngine.GameObject >

Properties

override UnityEngine.GameObject Value [get, set]
 For safe(ish) access to the contents field More...
 
- Properties inherited from CustomAsset.Mutable.OfType< UnityEngine.GameObject >
virtual T Value [get, set]
 For safe(ish) access to the contents field More...
 

Additional Inherited Members

- Public Member Functions inherited from CustomAsset.Mutable.OfType< UnityEngine.GameObject >
override string ToString ()
 Pass string conversion responsibility from the custom asset to the containing value More...
 
virtual void Set (T toValue)
 For safe(ish) access to the contents field More...
 
override int GetHashCode ()
  More...
 
override bool Equals (object other)
 Part of the group of Equals functions. Passes responsibility to the containing data More...
 
void Load ()
 Basic load for a persistent custom asset More...
 
void Save ()
 Basic save for a persistent custom asset More...
 
- Static Public Member Functions inherited from CustomAsset.Mutable.OfType< UnityEngine.GameObject >
static implicit operator T (OfType< T > t)
 All extraction by casting a custom object to the contained type. Same as getting the Value - as in myCustomAsset.Value === (MyCustomAsset) myCustomAsset More...
 
static new TC Instance< TC > (string path=null)
 If this is a project asset, then you will need to reference it somewhere. Other classes can get a reference using Instance() or Instance(string name). Also useful for creating in-memory versions to share between hosts More...
 
static TC New< TC > ()
 Create a new instance of the asset with a random name (GUID based) More...
 
static TC New< TC > (string name)
 Create a new instance of the asset with a supplied name. Note you can get duplicate names More...
 
static OfType< T > New (string name=null)
 Create a new instance dynamically More...
 
- Protected Member Functions inherited from CustomAsset.Mutable.OfType< UnityEngine.GameObject >
override void OnEnable ()
 Called when an asset is loaded and enabled. Used to ensure the custom asset does not leave memory prematurely and to load it if persistent More...
 
override void OnDisable ()
  More...
 

Detailed Description

Property Documentation

◆ Value

override UnityEngine.GameObject CustomAsset.GameObject.Value
getset

The documentation for this class was generated from the following file: