Skip to content

Commit a05b71a

Browse files
committed
Added a couple of comments.
1 parent 6eb0368 commit a05b71a

File tree

9 files changed

+88
-36
lines changed

9 files changed

+88
-36
lines changed

Assets/SimpleMinMaxSlider/Demo/MinMaxSliderDemoScene.unity

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ LightmapSettings:
9696
m_PVRFilteringAtrousPositionSigmaAO: 1
9797
m_ExportTrainingData: 0
9898
m_TrainingDataDestination: TrainingData
99+
m_LightProbeSampleCountMultiplier: 4
99100
m_LightingDataAsset: {fileID: 0}
100101
m_UseShadowmask: 1
101102
--- !u!196 &4
@@ -150,8 +151,8 @@ MonoBehaviour:
150151
m_Name:
151152
m_EditorClassIdentifier:
152153
info: Hover over slider to see tooltip
153-
floatTest: {x: 0, y: 10}
154-
intTest: {x: 0, y: 10}
154+
floatTest: {x: 4.5793805, y: 8.069381}
155+
intTest: {x: 1, y: 7}
155156
--- !u!4 &869075710
156157
Transform:
157158
m_ObjectHideFlags: 0

Assets/SimpleMinMaxSlider/Scripts/Editor/MinMaxSliderDrawer.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ public override void OnGUI(Rect position, SerializedProperty property, GUIConten
1111

1212
label.tooltip = minMaxAttribute.min.ToString("F2") + " to " + minMaxAttribute.max.ToString("F2");
1313

14-
Rect ctrlRect = EditorGUI.PrefixLabel(position, label);
15-
Rect[] splittedRect = SplitRect(ctrlRect,3);
14+
//PrefixLabel returns the rect of the right part of the control. It leaves out the label section. We don't have to worry about it. Nice!
15+
Rect controlRect = EditorGUI.PrefixLabel(position, label);
16+
17+
Rect[] splittedRect = SplitRect(controlRect,3);
1618

1719
if(propertyType == SerializedPropertyType.Vector2){
1820

@@ -22,6 +24,7 @@ public override void OnGUI(Rect position, SerializedProperty property, GUIConten
2224
float minVal = vector.x;
2325
float maxVal = vector.y;
2426

27+
//F2 limits the float to two decimal places (0.00).
2528
minVal = EditorGUI.FloatField(splittedRect[0], float.Parse(minVal.ToString("F2")));
2629
maxVal = EditorGUI.FloatField(splittedRect[2], float.Parse(maxVal.ToString("F2")));
2730

Assets/SimpleMinMaxSlider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "com.guciodevs.simple-min-max-slider",
33
"displayName": "Simple MinMax Slider",
44
"description": "Handy small package that adds a simple MinMaxSlider attribute.",
5-
"version": "1.0.0",
5+
"version": "1.1.0",
66
"unity": "2018.3",
77
"license": "MIT",
88
"dependencies": {

Logs/Packages-Update.log

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,16 @@ The following packages were updated:
1616
com.unity.collab-proxy from version 1.2.9 to 1.2.16
1717
com.unity.textmeshpro from version 2.0.0 to 2.0.1
1818
com.unity.timeline from version 0.0.0-builtin to 1.1.0
19+
20+
=== Sun Jan 26 11:26:14 2020
21+
22+
Packages were changed.
23+
Update Mode: updateDependencies
24+
25+
The following packages were updated:
26+
com.unity.ide.rider from version 1.1.0 to 1.1.4
27+
com.unity.ide.vscode from version 1.1.2 to 1.1.3
28+
com.unity.test-framework from version 1.0.13 to 1.1.9
29+
com.unity.timeline from version 1.1.0 to 1.2.9
30+
The following packages were removed:
31+
com.unity.package-manager-ui@2.2.0

Packages/manifest.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
"com.unity.2d.tilemap": "1.0.0",
55
"com.unity.collab-proxy": "1.2.16",
66
"com.unity.ext.nunit": "1.0.0",
7-
"com.unity.ide.rider": "1.1.0",
8-
"com.unity.ide.vscode": "1.1.2",
9-
"com.unity.package-manager-ui": "2.2.0",
10-
"com.unity.test-framework": "1.0.13",
7+
"com.unity.ide.rider": "1.1.4",
8+
"com.unity.ide.vscode": "1.1.3",
9+
"com.unity.test-framework": "1.1.9",
1110
"com.unity.textmeshpro": "2.0.1",
12-
"com.unity.timeline": "1.1.0",
11+
"com.unity.timeline": "1.2.9",
1312
"com.unity.ugui": "1.0.0",
1413
"com.unity.modules.ai": "1.0.0",
1514
"com.unity.modules.androidjni": "1.0.0",

ProjectSettings/EditorSettings.asset

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,33 @@
33
--- !u!159 &1
44
EditorSettings:
55
m_ObjectHideFlags: 0
6-
serializedVersion: 7
6+
serializedVersion: 9
77
m_ExternalVersionControlSupport: Visible Meta Files
88
m_SerializationMode: 2
99
m_LineEndingsForNewScripts: 2
1010
m_DefaultBehaviorMode: 1
11+
m_PrefabRegularEnvironment: {fileID: 0}
12+
m_PrefabUIEnvironment: {fileID: 0}
1113
m_SpritePackerMode: 4
1214
m_SpritePackerPaddingPower: 1
1315
m_EtcTextureCompressorBehavior: 1
1416
m_EtcTextureFastCompressor: 1
1517
m_EtcTextureNormalCompressor: 2
1618
m_EtcTextureBestCompressor: 4
17-
m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd
19+
m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmref
1820
m_ProjectGenerationRootNamespace:
19-
m_UserGeneratedProjectSuffix:
2021
m_CollabEditorSettings:
2122
inProgressEnabled: 1
23+
m_EnableTextureStreamingInEditMode: 1
24+
m_EnableTextureStreamingInPlayMode: 1
25+
m_AsyncShaderCompilation: 1
26+
m_EnterPlayModeOptionsEnabled: 0
27+
m_EnterPlayModeOptions: 3
28+
m_ShowLightmapResolutionOverlay: 1
29+
m_UseLegacyProbeSampleCount: 1
30+
m_AssetPipelineMode: 1
31+
m_CacheServerMode: 0
32+
m_CacheServerEndpoint:
33+
m_CacheServerNamespacePrefix: default
34+
m_CacheServerEnableDownload: 1
35+
m_CacheServerEnableUpload: 1
-2.36 KB
Binary file not shown.

ProjectSettings/ProjectSettings.asset

Lines changed: 43 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
--- !u!129 &1
44
PlayerSettings:
55
m_ObjectHideFlags: 0
6-
serializedVersion: 18
7-
productGUID: 00000000000000000000000000000000
6+
serializedVersion: 20
7+
productGUID: 85cd442bc1a39a34e8a2a22e69c8d8e5
88
AndroidProfiler: 0
99
AndroidFilterTouchesWhenObscured: 0
1010
AndroidEnableSustainedPerformanceMode: 0
1111
defaultScreenOrientation: 4
1212
targetDevice: 2
1313
useOnDemandResources: 0
1414
accelerometerFrequency: 60
15-
companyName:
16-
productName:
15+
companyName: DefaultCompany
16+
productName: SimpleMinMaxSlider
1717
defaultCursor: {fileID: 0}
1818
cursorHotspot: {x: 0, y: 0}
1919
m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
@@ -52,7 +52,6 @@ PlayerSettings:
5252
m_StackTraceTypes: 010000000100000001000000010000000100000001000000
5353
iosShowActivityIndicatorOnLoading: -1
5454
androidShowActivityIndicatorOnLoading: -1
55-
displayResolutionDialog: 0
5655
iosUseCustomAppBackgroundBehavior: 0
5756
iosAllowHTTPDownload: 1
5857
allowedAutorotateToPortrait: 1
@@ -85,15 +84,13 @@ PlayerSettings:
8584
useMacAppStoreValidation: 0
8685
macAppStoreCategory: public.app-category.games
8786
gpuSkinning: 0
88-
graphicsJobs: 0
8987
xboxPIXTextureCapture: 0
9088
xboxEnableAvatar: 0
9189
xboxEnableKinect: 0
9290
xboxEnableKinectAutoTracking: 0
9391
xboxEnableFitness: 0
9492
visibleInBackground: 1
9593
allowFullscreenSwitch: 1
96-
graphicsJobMode: 0
9794
fullscreenMode: 1
9895
xboxSpeechDB: 0
9996
xboxEnableHeadOrientation: 0
@@ -113,6 +110,7 @@ PlayerSettings:
113110
switchNVNShaderPoolsGranularity: 33554432
114111
switchNVNDefaultPoolsGranularity: 16777216
115112
switchNVNOtherPoolsGranularity: 16777216
113+
vulkanNumSwapchainBuffers: 3
116114
vulkanEnableSetSRGBWrite: 0
117115
m_SupportedAspectRatios:
118116
4:3: 1
@@ -155,9 +153,9 @@ PlayerSettings:
155153
v2Signing: 0
156154
enable360StereoCapture: 0
157155
isWsaHolographicRemotingEnabled: 0
158-
protectGraphicsMemory: 0
159156
enableFrameTimingStats: 0
160157
useHDRDisplay: 0
158+
D3DHDRBitDepth: 0
161159
m_ColorGamuts: 00000000
162160
targetPixelDensity: 30
163161
resolutionScalingMode: 0
@@ -167,7 +165,7 @@ PlayerSettings:
167165
Standalone: com.Company.ProductName
168166
buildNumber: {}
169167
AndroidBundleVersionCode: 1
170-
AndroidMinSdkVersion: 16
168+
AndroidMinSdkVersion: 19
171169
AndroidTargetSdkVersion: 0
172170
AndroidPreferredInstallLocation: 1
173171
aotOptions:
@@ -182,10 +180,10 @@ PlayerSettings:
182180
StripUnusedMeshComponents: 1
183181
VertexChannelCompressionMask: 4054
184182
iPhoneSdkVersion: 988
185-
iOSTargetOSVersionString: 9.0
183+
iOSTargetOSVersionString: 10.0
186184
tvOSSdkVersion: 0
187185
tvOSRequireExtendedGameController: 0
188-
tvOSTargetOSVersionString: 9.0
186+
tvOSTargetOSVersionString: 10.0
189187
uIPrerenderedIcon: 0
190188
uIRequiresPersistentWiFi: 0
191189
uIRequiresFullScreen: 1
@@ -275,10 +273,41 @@ PlayerSettings:
275273
androidGamepadSupportLevel: 0
276274
AndroidValidateAppBundleSize: 1
277275
AndroidAppBundleSizeToValidate: 150
278-
resolutionDialogBanner: {fileID: 0}
279276
m_BuildTargetIcons: []
280277
m_BuildTargetPlatformIcons: []
281278
m_BuildTargetBatching: []
279+
m_BuildTargetGraphicsJobs:
280+
- m_BuildTarget: MacStandaloneSupport
281+
m_GraphicsJobs: 0
282+
- m_BuildTarget: Switch
283+
m_GraphicsJobs: 0
284+
- m_BuildTarget: MetroSupport
285+
m_GraphicsJobs: 0
286+
- m_BuildTarget: AppleTVSupport
287+
m_GraphicsJobs: 0
288+
- m_BuildTarget: BJMSupport
289+
m_GraphicsJobs: 0
290+
- m_BuildTarget: LinuxStandaloneSupport
291+
m_GraphicsJobs: 0
292+
- m_BuildTarget: PS4Player
293+
m_GraphicsJobs: 0
294+
- m_BuildTarget: iOSSupport
295+
m_GraphicsJobs: 0
296+
- m_BuildTarget: WindowsStandaloneSupport
297+
m_GraphicsJobs: 0
298+
- m_BuildTarget: XboxOnePlayer
299+
m_GraphicsJobs: 0
300+
- m_BuildTarget: LuminSupport
301+
m_GraphicsJobs: 0
302+
- m_BuildTarget: AndroidPlayer
303+
m_GraphicsJobs: 0
304+
- m_BuildTarget: WebGLSupport
305+
m_GraphicsJobs: 0
306+
m_BuildTargetGraphicsJobMode:
307+
- m_BuildTarget: PS4Player
308+
m_GraphicsJobMode: 0
309+
- m_BuildTarget: XboxOnePlayer
310+
m_GraphicsJobMode: 0
282311
m_BuildTargetGraphicsAPIs:
283312
- m_BuildTarget: AndroidPlayer
284313
m_APIs: 150000000b000000
@@ -287,7 +316,6 @@ PlayerSettings:
287316
openGLRequireES31: 0
288317
openGLRequireES31AEP: 0
289318
openGLRequireES32: 0
290-
vuforiaEnabled: 0
291319
m_TemplateCustomTags: {}
292320
mobileMTRendering:
293321
Android: 1
@@ -403,6 +431,7 @@ PlayerSettings:
403431
switchRatingsInt_9: 0
404432
switchRatingsInt_10: 0
405433
switchRatingsInt_11: 0
434+
switchRatingsInt_12: 0
406435
switchLocalCommunicationIds_0:
407436
switchLocalCommunicationIds_1:
408437
switchLocalCommunicationIds_2:
@@ -502,6 +531,7 @@ PlayerSettings:
502531
ps4contentSearchFeaturesUsed: 0
503532
ps4attribEyeToEyeDistanceSettingVR: 0
504533
ps4IncludedModules: []
534+
ps4attribVROutputEnabled: 0
505535
monoEnv:
506536
splashScreenBackgroundSourceLandscape: {fileID: 0}
507537
splashScreenBackgroundSourcePortrait: {fileID: 0}
@@ -586,7 +616,6 @@ PlayerSettings:
586616
XboxOneAllowedProductIds: []
587617
XboxOnePersistentLocalStorageSize: 0
588618
XboxOneXTitleMemory: 8
589-
xboxOneScriptCompiler: 1
590619
XboxOneOverrideIdentityName:
591620
vrEditorSettings:
592621
daydream:
@@ -605,13 +634,6 @@ PlayerSettings:
605634
luminVersion:
606635
m_VersionCode: 1
607636
m_VersionName:
608-
facebookSdkVersion: 7.9.4
609-
facebookAppId:
610-
facebookCookies: 1
611-
facebookLogging: 1
612-
facebookStatus: 1
613-
facebookXfbml: 0
614-
facebookFrictionlessRequests: 1
615637
apiCompatibilityLevel: 6
616638
cloudProjectId:
617639
framebufferDepthMemorylessMode: 0

ProjectSettings/ProjectVersion.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
m_EditorVersion: 2019.2.8f1
2-
m_EditorVersionWithRevision: 2019.2.8f1 (ff5b465c8d13)
1+
m_EditorVersion: 2019.3.0f5
2+
m_EditorVersionWithRevision: 2019.3.0f5 (44796c9d3c2c)

0 commit comments

Comments
 (0)