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