cz.xprees.core 1.0.0 → 1.0.2
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.
- package/README.md +6 -0
- package/README.md.meta +7 -0
- package/Runtime/DescriptionBaseSO.cs +17 -17
- package/Runtime/DescriptionBaseSO.cs.meta +2 -2
- package/Runtime/IResettable.cs +7 -7
- package/Runtime/IResettable.cs.meta +2 -2
- package/Runtime/cz.xprees.core.asmdef +13 -13
- package/Runtime/cz.xprees.core.asmdef.meta +2 -2
- package/Runtime.meta +2 -2
- package/package.json +25 -18
- package/package.json.meta +2 -2
package/README.md
ADDED
package/README.md.meta
ADDED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
using UnityEngine;
|
|
2
|
-
|
|
3
|
-
namespace Xprees.Core
|
|
4
|
-
{
|
|
5
|
-
/// Base class for ScriptableObjects with a public description field visible only in Editor.
|
|
6
|
-
public class DescriptionBaseSO : ScriptableObject, IResettable
|
|
7
|
-
{
|
|
8
|
-
#if UNITY_EDITOR
|
|
9
|
-
[Tooltip("Description of the ScriptableObject. Editor only.")]
|
|
10
|
-
[TextArea]
|
|
11
|
-
public string description;
|
|
12
|
-
#endif
|
|
13
|
-
|
|
14
|
-
public virtual void ResetState()
|
|
15
|
-
{
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
using UnityEngine;
|
|
2
|
+
|
|
3
|
+
namespace Xprees.Core
|
|
4
|
+
{
|
|
5
|
+
/// Base class for ScriptableObjects with a public description field visible only in Editor.
|
|
6
|
+
public class DescriptionBaseSO : ScriptableObject, IResettable
|
|
7
|
+
{
|
|
8
|
+
#if UNITY_EDITOR
|
|
9
|
+
[Tooltip("Description of the ScriptableObject. Editor only.")]
|
|
10
|
+
[TextArea]
|
|
11
|
+
public string description;
|
|
12
|
+
#endif
|
|
13
|
+
|
|
14
|
+
public virtual void ResetState()
|
|
15
|
+
{
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
18
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 15ed92658c334a54ad5e85c68ea8e6c0
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 15ed92658c334a54ad5e85c68ea8e6c0
|
|
3
3
|
timeCreated: 1669143010
|
package/Runtime/IResettable.cs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
namespace Xprees.Core
|
|
2
|
-
{
|
|
3
|
-
public interface IResettable
|
|
4
|
-
{
|
|
5
|
-
/// Reset the internal state of the object.
|
|
6
|
-
public void ResetState();
|
|
7
|
-
}
|
|
1
|
+
namespace Xprees.Core
|
|
2
|
+
{
|
|
3
|
+
public interface IResettable
|
|
4
|
+
{
|
|
5
|
+
/// Reset the internal state of the object.
|
|
6
|
+
public void ResetState();
|
|
7
|
+
}
|
|
8
8
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: c8f0ed04496d426cbd10731fb3a7dfee
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: c8f0ed04496d426cbd10731fb3a7dfee
|
|
3
3
|
timeCreated: 1681059559
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "cz.xprees.core",
|
|
3
|
-
"rootNamespace": "Xprees.Core",
|
|
4
|
-
"references": [],
|
|
5
|
-
"includePlatforms": [],
|
|
6
|
-
"excludePlatforms": [],
|
|
7
|
-
"allowUnsafeCode": false,
|
|
8
|
-
"overrideReferences": false,
|
|
9
|
-
"precompiledReferences": [],
|
|
10
|
-
"autoReferenced": true,
|
|
11
|
-
"defineConstraints": [],
|
|
12
|
-
"versionDefines": [],
|
|
13
|
-
"noEngineReferences": false
|
|
1
|
+
{
|
|
2
|
+
"name": "cz.xprees.core",
|
|
3
|
+
"rootNamespace": "Xprees.Core",
|
|
4
|
+
"references": [],
|
|
5
|
+
"includePlatforms": [],
|
|
6
|
+
"excludePlatforms": [],
|
|
7
|
+
"allowUnsafeCode": false,
|
|
8
|
+
"overrideReferences": false,
|
|
9
|
+
"precompiledReferences": [],
|
|
10
|
+
"autoReferenced": true,
|
|
11
|
+
"defineConstraints": [],
|
|
12
|
+
"versionDefines": [],
|
|
13
|
+
"noEngineReferences": false
|
|
14
14
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 999c2ca78ab34358a1222750376a501c
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 999c2ca78ab34358a1222750376a501c
|
|
3
3
|
timeCreated: 1679504908
|
package/Runtime.meta
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 3bd4493521d342c1a2c9ca8bb6485eb5
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 3bd4493521d342c1a2c9ca8bb6485eb5
|
|
3
3
|
timeCreated: 1684674757
|
package/package.json
CHANGED
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "cz.xprees.core",
|
|
3
|
-
"displayName": "Core Classes",
|
|
4
|
-
"version": "1.0.
|
|
5
|
-
"unity": "2021.3",
|
|
6
|
-
"description": "This package contains core classes and interfaces for Unity projects. It is intended to be used as a dependency for other packages. By providing base classes in a separate package, you can easily update them across all your projects.",
|
|
7
|
-
"
|
|
8
|
-
"category": "Core",
|
|
9
|
-
"keywords": [
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "cz.xprees.core",
|
|
3
|
+
"displayName": "Core Classes",
|
|
4
|
+
"version": "1.0.2",
|
|
5
|
+
"unity": "2021.3",
|
|
6
|
+
"description": "This package contains core classes and interfaces for Unity projects. It is intended to be used as a dependency for other packages. By providing base classes in a separate package, you can easily update them across all your projects.",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"category": "Core",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"Unity",
|
|
11
|
+
"core-classes",
|
|
12
|
+
"ScriptableObjects"
|
|
13
|
+
],
|
|
14
|
+
"author": {
|
|
15
|
+
"name": "xprees",
|
|
16
|
+
"email": "xprees.developer@gmail.com",
|
|
17
|
+
"url": "https://xprees.com"
|
|
18
|
+
},
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/xprees/unity-core/issues"
|
|
21
|
+
},
|
|
22
|
+
"repository": {
|
|
23
|
+
"url": "https://github.com/xprees/unity-core"
|
|
24
|
+
},
|
|
25
|
+
"hideInEditor": true
|
|
19
26
|
}
|
package/package.json.meta
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 4c7659a42f434a118d3717ff3ca8be3a
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 4c7659a42f434a118d3717ff3ca8be3a
|
|
3
3
|
timeCreated: 1684674154
|