示例#1
0
 public StateSetter(object _source, Action _ControlMethod, Action _UpdateMethod, Action _FixedUpdateMethod, Action _CancelMethod, SetStrength _setStrength = SetStrength.Weak)
 {
     source            = _source;
     ControlMethod     = _ControlMethod;
     UpdateMethod      = _UpdateMethod;
     FixedUpdateMethod = _FixedUpdateMethod;
     setStrength       = _setStrength;
     CancelMethod      = _CancelMethod;
 }
示例#2
0
 public StateSetter(object _source, Action _ControlMethod, Action _UpdateMethod, Action _FixedUpdateMethod, SetStrength _setStrength = SetStrength.Weak)
     : this(_source, _ControlMethod, _UpdateMethod, _FixedUpdateMethod, null, _setStrength)
 {
 }