com.wallstop-studios.unity-helpers 2.0.0-rc37 → 2.0.0-rc39

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.
@@ -1,11 +1,10 @@
1
1
  name: Export and Release Unity Package
2
2
 
3
3
  on:
4
- push:
5
- branches:
6
- - main
7
- paths:
8
- - 'package.json'
4
+ workflow_run:
5
+ workflows: ["Unity Tests"]
6
+ types:
7
+ - completed
9
8
  workflow_dispatch:
10
9
  inputs:
11
10
  logLevel:
@@ -71,7 +70,8 @@ jobs:
71
70
  with:
72
71
  unityVersion: 2022.3.5f1
73
72
  targetPlatform: StandaloneLinux64
74
-
73
+ buildMethod: BuildScript.BuildLinux
74
+ projectPath: .
75
75
 
76
76
  - name: Export Unity Package
77
77
  if: env.should_build == 'true'
@@ -0,0 +1,33 @@
1
+ namespace UnityHelpers.Editor
2
+ {
3
+ #if UNITY_EDITOR
4
+ using UnityEditor;
5
+ using System.IO;
6
+ using UnityEngine;
7
+
8
+ // Needed for build
9
+ public static class BuildScript
10
+ {
11
+ [MenuItem("Build/Build Unity Package")]
12
+ public static void BuildLinux()
13
+ {
14
+ Debug.Log($"Project Path: {Application.dataPath}");
15
+
16
+ string[] scenes = { "Editor/Scenes/SampleScene.unity" };
17
+
18
+ const string buildPath = "Builds/UnityHelpers";
19
+ if (!Directory.Exists(buildPath))
20
+ {
21
+ Directory.CreateDirectory(buildPath);
22
+ }
23
+
24
+ BuildPipeline.BuildPlayer(
25
+ scenes,
26
+ buildPath + "/UnityHelpers.x86_64",
27
+ BuildTarget.StandaloneLinux64,
28
+ BuildOptions.None
29
+ );
30
+ }
31
+ }
32
+ #endif
33
+ }
@@ -0,0 +1,3 @@
1
+ fileFormatVersion: 2
2
+ guid: a65511569d504d0daeca9db204f1fa7d
3
+ timeCreated: 1742089208
@@ -0,0 +1,221 @@
1
+ %YAML 1.1
2
+ %TAG !u! tag:unity3d.com,2011:
3
+ --- !u!29 &1
4
+ OcclusionCullingSettings:
5
+ m_ObjectHideFlags: 0
6
+ serializedVersion: 2
7
+ m_OcclusionBakeSettings:
8
+ smallestOccluder: 5
9
+ smallestHole: 0.25
10
+ backfaceThreshold: 100
11
+ m_SceneGUID: 00000000000000000000000000000000
12
+ m_OcclusionCullingData: {fileID: 0}
13
+ --- !u!104 &2
14
+ RenderSettings:
15
+ m_ObjectHideFlags: 0
16
+ serializedVersion: 9
17
+ m_Fog: 0
18
+ m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
19
+ m_FogMode: 3
20
+ m_FogDensity: 0.01
21
+ m_LinearFogStart: 0
22
+ m_LinearFogEnd: 300
23
+ m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
24
+ m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
25
+ m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
26
+ m_AmbientIntensity: 1
27
+ m_AmbientMode: 3
28
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
29
+ m_SkyboxMaterial: {fileID: 0}
30
+ m_HaloStrength: 0.5
31
+ m_FlareStrength: 1
32
+ m_FlareFadeSpeed: 3
33
+ m_HaloTexture: {fileID: 0}
34
+ m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
35
+ m_DefaultReflectionMode: 0
36
+ m_DefaultReflectionResolution: 128
37
+ m_ReflectionBounces: 1
38
+ m_ReflectionIntensity: 1
39
+ m_CustomReflection: {fileID: 0}
40
+ m_Sun: {fileID: 0}
41
+ m_UseRadianceAmbientProbe: 0
42
+ --- !u!157 &3
43
+ LightmapSettings:
44
+ m_ObjectHideFlags: 0
45
+ serializedVersion: 12
46
+ m_GIWorkflowMode: 1
47
+ m_GISettings:
48
+ serializedVersion: 2
49
+ m_BounceScale: 1
50
+ m_IndirectOutputScale: 1
51
+ m_AlbedoBoost: 1
52
+ m_EnvironmentLightingMode: 0
53
+ m_EnableBakedLightmaps: 0
54
+ m_EnableRealtimeLightmaps: 0
55
+ m_LightmapEditorSettings:
56
+ serializedVersion: 12
57
+ m_Resolution: 2
58
+ m_BakeResolution: 40
59
+ m_AtlasSize: 1024
60
+ m_AO: 0
61
+ m_AOMaxDistance: 1
62
+ m_CompAOExponent: 1
63
+ m_CompAOExponentDirect: 0
64
+ m_ExtractAmbientOcclusion: 0
65
+ m_Padding: 2
66
+ m_LightmapParameters: {fileID: 0}
67
+ m_LightmapsBakeMode: 1
68
+ m_TextureCompression: 1
69
+ m_FinalGather: 0
70
+ m_FinalGatherFiltering: 1
71
+ m_FinalGatherRayCount: 256
72
+ m_ReflectionCompression: 2
73
+ m_MixedBakeMode: 2
74
+ m_BakeBackend: 1
75
+ m_PVRSampling: 1
76
+ m_PVRDirectSampleCount: 32
77
+ m_PVRSampleCount: 512
78
+ m_PVRBounces: 2
79
+ m_PVREnvironmentSampleCount: 256
80
+ m_PVREnvironmentReferencePointCount: 2048
81
+ m_PVRFilteringMode: 1
82
+ m_PVRDenoiserTypeDirect: 1
83
+ m_PVRDenoiserTypeIndirect: 1
84
+ m_PVRDenoiserTypeAO: 1
85
+ m_PVRFilterTypeDirect: 0
86
+ m_PVRFilterTypeIndirect: 0
87
+ m_PVRFilterTypeAO: 0
88
+ m_PVREnvironmentMIS: 1
89
+ m_PVRCulling: 1
90
+ m_PVRFilteringGaussRadiusDirect: 1
91
+ m_PVRFilteringGaussRadiusIndirect: 5
92
+ m_PVRFilteringGaussRadiusAO: 2
93
+ m_PVRFilteringAtrousPositionSigmaDirect: 0.5
94
+ m_PVRFilteringAtrousPositionSigmaIndirect: 2
95
+ m_PVRFilteringAtrousPositionSigmaAO: 1
96
+ m_ExportTrainingData: 0
97
+ m_TrainingDataDestination: TrainingData
98
+ m_LightProbeSampleCountMultiplier: 4
99
+ m_LightingDataAsset: {fileID: 0}
100
+ m_LightingSettings: {fileID: 0}
101
+ --- !u!196 &4
102
+ NavMeshSettings:
103
+ serializedVersion: 2
104
+ m_ObjectHideFlags: 0
105
+ m_BuildSettings:
106
+ serializedVersion: 3
107
+ agentTypeID: 0
108
+ agentRadius: 0.5
109
+ agentHeight: 2
110
+ agentSlope: 45
111
+ agentClimb: 0.4
112
+ ledgeDropHeight: 0
113
+ maxJumpAcrossDistance: 0
114
+ minRegionArea: 2
115
+ manualCellSize: 0
116
+ cellSize: 0.16666667
117
+ manualTileSize: 0
118
+ tileSize: 256
119
+ buildHeightMesh: 0
120
+ maxJobWorkers: 0
121
+ preserveTilesOutsideBounds: 0
122
+ debug:
123
+ m_Flags: 0
124
+ m_NavMeshData: {fileID: 0}
125
+ --- !u!1 &1900725526
126
+ GameObject:
127
+ m_ObjectHideFlags: 0
128
+ m_CorrespondingSourceObject: {fileID: 0}
129
+ m_PrefabInstance: {fileID: 0}
130
+ m_PrefabAsset: {fileID: 0}
131
+ serializedVersion: 6
132
+ m_Component:
133
+ - component: {fileID: 1900725529}
134
+ - component: {fileID: 1900725528}
135
+ - component: {fileID: 1900725527}
136
+ m_Layer: 0
137
+ m_Name: Main Camera
138
+ m_TagString: MainCamera
139
+ m_Icon: {fileID: 0}
140
+ m_NavMeshLayer: 0
141
+ m_StaticEditorFlags: 0
142
+ m_IsActive: 1
143
+ --- !u!81 &1900725527
144
+ AudioListener:
145
+ m_ObjectHideFlags: 0
146
+ m_CorrespondingSourceObject: {fileID: 0}
147
+ m_PrefabInstance: {fileID: 0}
148
+ m_PrefabAsset: {fileID: 0}
149
+ m_GameObject: {fileID: 1900725526}
150
+ m_Enabled: 1
151
+ --- !u!20 &1900725528
152
+ Camera:
153
+ m_ObjectHideFlags: 0
154
+ m_CorrespondingSourceObject: {fileID: 0}
155
+ m_PrefabInstance: {fileID: 0}
156
+ m_PrefabAsset: {fileID: 0}
157
+ m_GameObject: {fileID: 1900725526}
158
+ m_Enabled: 1
159
+ serializedVersion: 2
160
+ m_ClearFlags: 1
161
+ m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
162
+ m_projectionMatrixMode: 1
163
+ m_GateFitMode: 2
164
+ m_FOVAxisMode: 0
165
+ m_Iso: 200
166
+ m_ShutterSpeed: 0.005
167
+ m_Aperture: 16
168
+ m_FocusDistance: 10
169
+ m_FocalLength: 50
170
+ m_BladeCount: 5
171
+ m_Curvature: {x: 2, y: 11}
172
+ m_BarrelClipping: 0.25
173
+ m_Anamorphism: 0
174
+ m_SensorSize: {x: 36, y: 24}
175
+ m_LensShift: {x: 0, y: 0}
176
+ m_NormalizedViewPortRect:
177
+ serializedVersion: 2
178
+ x: 0
179
+ y: 0
180
+ width: 1
181
+ height: 1
182
+ near clip plane: 0.3
183
+ far clip plane: 1000
184
+ field of view: 60
185
+ orthographic: 1
186
+ orthographic size: 5
187
+ m_Depth: -1
188
+ m_CullingMask:
189
+ serializedVersion: 2
190
+ m_Bits: 4294967295
191
+ m_RenderingPath: -1
192
+ m_TargetTexture: {fileID: 0}
193
+ m_TargetDisplay: 0
194
+ m_TargetEye: 3
195
+ m_HDR: 1
196
+ m_AllowMSAA: 1
197
+ m_AllowDynamicResolution: 0
198
+ m_ForceIntoRT: 0
199
+ m_OcclusionCulling: 1
200
+ m_StereoConvergence: 10
201
+ m_StereoSeparation: 0.022
202
+ --- !u!4 &1900725529
203
+ Transform:
204
+ m_ObjectHideFlags: 0
205
+ m_CorrespondingSourceObject: {fileID: 0}
206
+ m_PrefabInstance: {fileID: 0}
207
+ m_PrefabAsset: {fileID: 0}
208
+ m_GameObject: {fileID: 1900725526}
209
+ serializedVersion: 2
210
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
211
+ m_LocalPosition: {x: 0, y: 0, z: -10}
212
+ m_LocalScale: {x: 1, y: 1, z: 1}
213
+ m_ConstrainProportionsScale: 0
214
+ m_Children: []
215
+ m_Father: {fileID: 0}
216
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
217
+ --- !u!1660057539 &9223372036854775807
218
+ SceneRoots:
219
+ m_ObjectHideFlags: 0
220
+ m_Roots:
221
+ - {fileID: 1900725529}
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 86342635493191f428f5b77a3887b915
3
+ DefaultImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,3 @@
1
+ fileFormatVersion: 2
2
+ guid: aa978312dfbe4ad484edf56b5c6e5658
3
+ timeCreated: 1742089254
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.wallstop-studios.unity-helpers",
3
- "version": "2.0.0-rc37",
3
+ "version": "2.0.0-rc39",
4
4
  "displayName": "Unity Helpers",
5
5
  "description": "Various Unity Helper Library",
6
6
  "dependencies": {},