Variable.cs declarations
Public API declaration excerpts from ../bitquirky-core/Runtime/Variable/Variable.cs.
Source snapshot ad0983d00d77.
On this page
Original file: ../bitquirky-core/Runtime/Variable/Variable.cs
Source file hash: sha256:f523de5f4171ce2f52198cc0cc989c3135edb27e12826000f9afc6f794046d29
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: Variable<T>
Section titled “Type: Variable<T>”Original lines: 39-185
Declaration hash: sha256:63fe21b5b50a62213240bbfb6a8263bd4fca53f06c748b14e4647e5799d322d5
[Serializable]public abstract class Variable<T> : DataObject, IBindableSource<T>{}Event: ValueChanged
Section titled “Event: ValueChanged”Original lines: 62
Declaration hash: sha256:72b68d2b04cc80bb13cf7496072150274554344c980f23d03a877235b127abc2
public event Action<T, T> ValueChanged;Property: Value
Section titled “Property: Value”Original lines: 68-72
Declaration hash: sha256:6fb7d96db40f361837e7dbde9f1de90fa13057800924ac68587648a416b11602
public virtual T Value { get; set; }Property: HasResetValue
Section titled “Property: HasResetValue”Original lines: 74-75
Declaration hash: sha256:eb9e21c78d77a64fbec6d5173cb4a8291771c60f1c35a6da1c8942086dc5ca4c
[UsedImplicitly]public virtual bool HasResetValue { get; }Property: ResetValue
Section titled “Property: ResetValue”Original lines: 77-78
Declaration hash: sha256:6cbf4461951c2e69cad42ff0d3a48fc4ac1a60c583b7b21bf890d219dcd27877
[UsedImplicitly]public virtual T ResetValue { get; }Method: Clear()
Section titled “Method: Clear()”Original lines: 84-86
Declaration hash: sha256:17f89495b1ec496ab61300455724670af6845116758ab4041247a15019b282a2
[Button]public virtual void Clear();Method: op_Implicit(Variable<T> variable)
Section titled “Method: op_Implicit(Variable<T> variable)”Original lines: 88-91
Declaration hash: sha256:f9ba257d2885478432a198160e0e1df1b21be9ffe6cbb2942e8ba35101491506
public static implicit operator T(Variable<T> variable);Method: GetValue()
Section titled “Method: GetValue()”Original lines: 93-96
Declaration hash: sha256:de2319085701ed9e2f212b5349ff0178917443b1330c189e97baf8f5b34c1fbe
public virtual T GetValue();Method: ForceSetValue(T value)
Section titled “Method: ForceSetValue(T value)”Original lines: 101-107
Declaration hash: sha256:61cab3295907a11a7681b90dde89792182caeb5af2a70d5d2adc510621422d22
public void ForceSetValue(T value);Method: SetValue(T value)
Section titled “Method: SetValue(T value)”Original lines: 112-125
Declaration hash: sha256:902742f7c7df1cf4f64cf4a0828d70d76ead290015f1352ef542559336cb05dc
public void SetValue(T value);Method: SetValue(Variable<T> value)
Section titled “Method: SetValue(Variable<T> value)”Original lines: 127-131
Declaration hash: sha256:0d54f52f2358195e949fa0d618c2f5ea228508185226729bcfb2f6664b86cf2a
public void SetValue(Variable<T> value);Method: ToString()
Section titled “Method: ToString()”Original lines: 133-136
Declaration hash: sha256:5df4654aa8b746d6e355abf3a29d06bd107bcfdafe1b6cf04178b4d750c3371b
public override string ToString();Method: IsEmptyOrDefault()
Section titled “Method: IsEmptyOrDefault()”Original lines: 139
Declaration hash: sha256:a57e9d3b7bf9a40b035193f99cf57aee3c64408ac2cbb274d00beede637f9b86
public virtual bool IsEmptyOrDefault();Method: LoadPlayerPref()
Section titled “Method: LoadPlayerPref()”Original lines: 141-146
Declaration hash: sha256:46fff2a3f14bedd99c1f80676934b3b7d9f36760b0ccb4cc884f3358869243af
[Button, ShowIf(nameof(ShowPlayerPref))]public void LoadPlayerPref();Method: SavePlayerPref()
Section titled “Method: SavePlayerPref()”Original lines: 148-153
Declaration hash: sha256:3cdc4e40ddfd52e2a486b52e999fddcc11167f60bac3a6e8336a70d5c7c05ccc
[Button, ShowIf(nameof(ShowPlayerPref))]public void SavePlayerPref();Method: OnValueChanged(T oldValue, T newValue)
Section titled “Method: OnValueChanged(T oldValue, T newValue)”Original lines: 158-159
Declaration hash: sha256:344d30b7bc84f6200472c1ad36a6a56ce84a121bb08e3be18264693bd1f13012
[Button]protected virtual void OnValueChanged(T oldValue, T newValue);Method: GameAwake()
Section titled “Method: GameAwake()”Original lines: 174-177
Declaration hash: sha256:9e74db6538ddf2a076900fcb2c63668ec4122eba04b2efed74b266b3f45f5395
public virtual void GameAwake();Method: GameReset()
Section titled “Method: GameReset()”Original lines: 179-183
Declaration hash: sha256:250115a88d8e9d43f358f0ff2639505df86bfcf4841595451a6542190a03aff1
public virtual void GameReset();