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 ADDED
@@ -0,0 +1,6 @@
1
+ # Unity Core classes
2
+
3
+ This is base package containing a few common classes for Unity projects.
4
+
5
+ ## Usage
6
+
package/README.md.meta ADDED
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: b1f86c75fe01b6c4bbb8dadc5802a8f1
3
+ TextScriptImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -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
@@ -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.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
- "licensesUrl": "http://www.wtfpl.net/txt/copying/",
8
- "category": "Core",
9
- "keywords": [
10
- "base",
11
- "ScriptableObjects"
12
- ],
13
- "author": {
14
- "name": "xprees",
15
- "email": "xprees.developer@gmail.com",
16
- "url": "https://github.com/xprees"
17
- },
18
- "hideInEditor": true
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