Skip to content

Commit a077a1b

Browse files
committed
Version refactor8 release
1 parent a96acdc commit a077a1b

File tree

6 files changed

+53
-90
lines changed

6 files changed

+53
-90
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// Shows either a welcome message, only once per session.
2+
//#if UNITY_EDITOR
3+
using UnityEditor;
4+
using UnityEngine;
5+
6+
namespace agora_gaming_rtc
7+
{
8+
static class Welcome
9+
{
10+
[InitializeOnLoadMethod]
11+
static void OnInitializeOnLoad()
12+
{
13+
// InitializeOnLoad is called on start and after each rebuild,
14+
// but we only want to show this once per editor session.
15+
if (!SessionState.GetBool("AGORA_WELCOME", false))
16+
{
17+
SessionState.SetBool("AGORA_WELCOME", true);
18+
Debug.Log("<color=#099DFD>Agora IO</color> | webgl.agoraguru.net | See Wiki On GibHub");
19+
}
20+
}
21+
}
22+
}
23+
//#endif

Assets/API-Example/Editor/Welcome.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/API-Example/geo-area-sample/MainScene.unity

Lines changed: 8 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ RenderSettings:
3838
m_ReflectionIntensity: 1
3939
m_CustomReflection: {fileID: 0}
4040
m_Sun: {fileID: 0}
41-
m_IndirectSpecularColor: {r: 0.44657868, g: 0.4964124, b: 0.574817, a: 1}
41+
m_IndirectSpecularColor: {r: 0.4465934, g: 0.49642956, b: 0.5748249, a: 1}
4242
m_UseRadianceAmbientProbe: 0
4343
--- !u!157 &3
4444
LightmapSettings:
4545
m_ObjectHideFlags: 0
46-
serializedVersion: 12
46+
serializedVersion: 11
4747
m_GIWorkflowMode: 0
4848
m_GISettings:
4949
serializedVersion: 2
@@ -98,13 +98,13 @@ LightmapSettings:
9898
m_TrainingDataDestination: TrainingData
9999
m_LightProbeSampleCountMultiplier: 4
100100
m_LightingDataAsset: {fileID: 0}
101-
m_LightingSettings: {fileID: 4890085278179872738, guid: cf9faa340db73458297c9e17153f887f, type: 2}
101+
m_UseShadowmask: 1
102102
--- !u!196 &4
103103
NavMeshSettings:
104104
serializedVersion: 2
105105
m_ObjectHideFlags: 0
106106
m_BuildSettings:
107-
serializedVersion: 3
107+
serializedVersion: 2
108108
agentTypeID: 0
109109
agentRadius: 0.5
110110
agentHeight: 2
@@ -117,9 +117,7 @@ NavMeshSettings:
117117
cellSize: 0.16666667
118118
manualTileSize: 0
119119
tileSize: 256
120-
buildHeightMesh: 0
121-
maxJobWorkers: 0
122-
preserveTilesOutsideBounds: 0
120+
accuratePlacement: 0
123121
debug:
124122
m_Flags: 0
125123
m_NavMeshData: {fileID: 0}
@@ -172,17 +170,9 @@ Camera:
172170
m_projectionMatrixMode: 1
173171
m_GateFitMode: 2
174172
m_FOVAxisMode: 0
175-
m_Iso: 200
176-
m_ShutterSpeed: 0.005
177-
m_Aperture: 16
178-
m_FocusDistance: 10
179-
m_FocalLength: 50
180-
m_BladeCount: 5
181-
m_Curvature: {x: 2, y: 11}
182-
m_BarrelClipping: 0.25
183-
m_Anamorphism: 0
184173
m_SensorSize: {x: 36, y: 24}
185174
m_LensShift: {x: 0, y: 0}
175+
m_FocalLength: 50
186176
m_NormalizedViewPortRect:
187177
serializedVersion: 2
188178
x: 0
@@ -219,7 +209,6 @@ Transform:
219209
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
220210
m_LocalPosition: {x: 0, y: 1, z: -10}
221211
m_LocalScale: {x: 1, y: 1, z: 1}
222-
m_ConstrainProportionsScale: 0
223212
m_Children: []
224213
m_Father: {fileID: 0}
225214
m_RootOrder: 0
@@ -229,7 +218,6 @@ PrefabInstance:
229218
m_ObjectHideFlags: 0
230219
serializedVersion: 2
231220
m_Modification:
232-
serializedVersion: 3
233221
m_TransformParent: {fileID: 0}
234222
m_Modifications:
235223
- target: {fileID: 4499321887419714, guid: f5f96853bf0ca2a45aeedc8c9afc5364, type: 3}
@@ -265,9 +253,6 @@ PrefabInstance:
265253
value: 0
266254
objectReference: {fileID: 0}
267255
m_RemovedComponents: []
268-
m_RemovedGameObjects: []
269-
m_AddedGameObjects: []
270-
m_AddedComponents: []
271256
m_SourcePrefab: {fileID: 100100000, guid: f5f96853bf0ca2a45aeedc8c9afc5364, type: 3}
272257
--- !u!1 &634102968
273258
GameObject:
@@ -302,7 +287,6 @@ MonoBehaviour:
302287
m_Material: {fileID: 0}
303288
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
304289
m_RaycastTarget: 1
305-
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
306290
m_Maskable: 1
307291
m_OnCullStateChanged:
308292
m_PersistentCalls:
@@ -339,7 +323,6 @@ RectTransform:
339323
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
340324
m_LocalPosition: {x: 0, y: 0, z: 0}
341325
m_LocalScale: {x: 1, y: 1, z: 1}
342-
m_ConstrainProportionsScale: 0
343326
m_Children: []
344327
m_Father: {fileID: 2114801519}
345328
m_RootOrder: 0
@@ -425,7 +408,6 @@ Light:
425408
m_UseColorTemperature: 0
426409
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
427410
m_UseBoundingSphereOverride: 0
428-
m_UseViewFrustumForShadowCasterCull: 1
429411
m_ShadowRadius: 0
430412
m_ShadowAngle: 0
431413
--- !u!4 &1074959121
@@ -438,7 +420,6 @@ Transform:
438420
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
439421
m_LocalPosition: {x: 0, y: 3, z: 0}
440422
m_LocalScale: {x: 1, y: 1, z: 1}
441-
m_ConstrainProportionsScale: 0
442423
m_Children: []
443424
m_Father: {fileID: 0}
444425
m_RootOrder: 1
@@ -505,7 +486,6 @@ Transform:
505486
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
506487
m_LocalPosition: {x: 0, y: 0, z: 0}
507488
m_LocalScale: {x: 1, y: 1, z: 1}
508-
m_ConstrainProportionsScale: 0
509489
m_Children: []
510490
m_Father: {fileID: 0}
511491
m_RootOrder: 2
@@ -543,7 +523,7 @@ MonoBehaviour:
543523
m_Name:
544524
m_EditorClassIdentifier:
545525
appInfo: {fileID: 11400000, guid: 7ee9bb1787fc94e81b7466561e7df94b, type: 2}
546-
CHANNEL_NAME: unity3e
526+
CHANNEL_NAME: unity3d
547527
areaCode: 2
548528
logText: {fileID: 634102969}
549529
--- !u!114 &2114801516
@@ -575,7 +555,7 @@ MonoBehaviour:
575555
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
576556
m_Name:
577557
m_EditorClassIdentifier:
578-
m_UiScaleMode: 0
558+
m_UiScaleMode: 1
579559
m_ReferencePixelsPerUnit: 100
580560
m_ScaleFactor: 1
581561
m_ReferenceResolution: {x: 800, y: 600}
@@ -585,7 +565,6 @@ MonoBehaviour:
585565
m_FallbackScreenDPI: 96
586566
m_DefaultSpriteDPI: 96
587567
m_DynamicPixelsPerUnit: 1
588-
m_PresetInfoIsWorld: 0
589568
--- !u!223 &2114801518
590569
Canvas:
591570
m_ObjectHideFlags: 0
@@ -604,7 +583,6 @@ Canvas:
604583
m_OverridePixelPerfect: 0
605584
m_SortingBucketNormalizedSize: 0
606585
m_AdditionalShaderChannelsFlag: 0
607-
m_UpdateRectTransformForStandalone: 0
608586
m_SortingLayerID: 0
609587
m_SortingOrder: 0
610588
m_TargetDisplay: 0
@@ -618,7 +596,6 @@ RectTransform:
618596
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
619597
m_LocalPosition: {x: 0, y: 0, z: 0}
620598
m_LocalScale: {x: 0, y: 0, z: 0}
621-
m_ConstrainProportionsScale: 0
622599
m_Children:
623600
- {fileID: 634102971}
624601
m_Father: {fileID: 0}

0 commit comments

Comments
 (0)