public StateParam(bool _bool) { type = StateParamType.Bool; this._int = 0; this._float = 0f; this._str = null; this._bool = _bool; }
public StateParam(float _float) { type = StateParamType.Float; this._int = 0; this._float = _float; this._str = null; this._bool = false; }
public StateParam(string _str) { type = StateParamType.String; this._int = 0; this._float = 0f; this._str = _str; this._bool = false; }
public StateParam(int _int) { type = StateParamType.Int; this._int = _int; this._float = 0f; this._str = null; this._bool = false; }