CustomAssets
Askowl Custom Assets
CustomAsset.Mutable.Integer Class Reference

Integer CustomAsset contains an int value. Add listeners to your own classes with Register(this) //#TBD#// More...

Inheritance diagram for CustomAsset.Mutable.Integer:
CustomAsset.Mutable.OfType< int >

Static Public Member Functions

static Integer Instance (string name)
  //#TBD#// More...
 
- Static Public Member Functions inherited from CustomAsset.Mutable.OfType< int >
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...
 

Additional Inherited Members

- Public Member Functions inherited from CustomAsset.Mutable.OfType< int >
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...
 
- Protected Member Functions inherited from CustomAsset.Mutable.OfType< int >
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...
 
- Properties inherited from CustomAsset.Mutable.OfType< int >
virtual T Value [get, set]
 For safe(ish) access to the contents field More...
 

Detailed Description

Member Function Documentation

◆ Instance()

static Integer CustomAsset.Mutable.Integer.Instance ( string  name)
static

//#TBD#//


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