CustomAssets
Askowl Custom Assets
Mutable/Integer.cs
1 // Copyright 2018 (C) paul@marrington.net http://www.askowl.net/unity-packages
2 
3 using UnityEngine;
4 
5 namespace CustomAsset.Mutable {
6  /// <a href="http://bit.ly/2QP2Kn9">Integer CustomAsset contains an int value. Add listeners to your own classes with Register(this)</a> //#TBD#// <inheritdoc />
7  [CreateAssetMenu(menuName = "Custom Assets/Mutable/Integer")]
8  public class Integer : OfType<int> {
9  /// <a href="http://bit.ly/2QP2Kn9"><see cref="OfType{T}.Instance{TC}"/></a> //#TBD#//
10  public static Integer Instance(string name) => Instance<Integer>(name);
11  }
12 }
Base class for a custom asset. Provides getters and setters for the contained value and templates for...