cz.xprees.variables 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -32,8 +32,9 @@ namespace Xprees.Variables.Base
|
|
|
32
32
|
[SerializeField] private T currentValue;
|
|
33
33
|
|
|
34
34
|
[Header("Settings")]
|
|
35
|
-
[Tooltip(
|
|
36
|
-
|
|
35
|
+
[Tooltip("If true, the variable will not be reset when calling ResetState()."
|
|
36
|
+
+ " However, it will still be reset on OnEnable and when ForceResetState() is called. "
|
|
37
|
+
+ "Useful for game-system variables where runtime value should persist unless explicitly reset.")]
|
|
37
38
|
[SerializeField] protected bool protectedDontReset = false;
|
|
38
39
|
|
|
39
40
|
public virtual T CurrentValue
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cz.xprees.variables",
|
|
3
3
|
"displayName": "Variables",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.15",
|
|
5
5
|
"unity": "2021.3",
|
|
6
6
|
"description": "This package contains a system for creating variables based on ScriptableObjects in Editor.",
|
|
7
7
|
"license": "Apache-2.0",
|