Projekt

Obecné

Profil

« Předchozí | Další » 

Revize f4e5d893

Přidáno uživatelem Oto Šťáva před téměř 4 roky(ů)

Re #8900 - Refactor

Zobrazit rozdíly:

deltarobot-vr/Assets/DeltaRobotVr/ActuatorScript.cs
1
using UnityEngine;
2

  
3
namespace DeltaRobotVr
4
{
5
    public class ActuatorScript : MonoBehaviour
6
    {
7
        public const float LerpParam = 0.5f;
8
        
9
        private Transform _transform;
10
    
11
        void Start()
12
        {
13
            _transform = GetComponent<Transform>();
14
        }
15
    
16
        void Update()
17
        {
18
            if (Client.Instance.IsConnected)
19
            {
20
                var actPosition = Client.Instance.ActuatorPosition;
21
                var newPosition = Single3Utils.ToVector3(actPosition.X, actPosition.Y, actPosition.Z);
22
                _transform.position = Vector3.Lerp(_transform.position, newPosition, LerpParam);
23
            }
24
        }
25
    }
26
}
deltarobot-vr/Assets/DeltaRobotVr/ActuatorScript.cs.meta
1
fileFormatVersion: 2
2
guid: cfafba4e0e8b6e0adb6dda9dbc5076f8
3
MonoImporter:
4
  externalObjects: {}
5
  serializedVersion: 2
6
  defaultReferences: []
7
  executionOrder: 0
8
  icon: {instanceID: 0}
9
  userData: 
10
  assetBundleName: 
11
  assetBundleVariant: 
deltarobot-vr/Assets/DeltaRobotVr/ArrowScript.cs
1
using System.Collections;
2
using System.Collections.Generic;
3 1
using UnityEngine;
4
using DeltaRobotVr;
5 2

  
6
public abstract class ArrowScript : MonoBehaviour
3
namespace DeltaRobotVr
7 4
{
8
    protected LineRenderer lr;
9
    void Start()
5
    public abstract class ArrowScript : MonoBehaviour
10 6
    {
11
        lr = GetComponent<LineRenderer>();
12
    }
7
        protected LineRenderer lr;
8
        void Start()
9
        {
10
            lr = GetComponent<LineRenderer>();
11
        }
13 12

  
14
    void Update()
15
    {
16
        if (Client.Instance.IsConnected)
13
        void Update()
17 14
        {
18
            var vector = getVector();
19
            lr.SetPositions(new Vector3[] { Vector3.zero, MyTools.Single3Transform(vector.X, vector.Y, vector.Z) * 2 });
15
            if (Client.Instance.IsConnected)
16
            {
17
                var vector = GetVector();
18
                lr.SetPositions(new[] { Vector3.zero, Single3Utils.ToVector3(vector) * 2 });
19
            }
20 20
        }
21
    }
22 21

  
23
    protected abstract Single3 getVector();
22
        protected abstract Single3 GetVector();
23
    }
24 24
}
deltarobot-vr/Assets/DeltaRobotVr/Client.cs
94 94

  
95 95
        public void Start()
96 96
        {
97
            _thread = new Thread(ThreadProcedure);
98 97
            IsRunning = true;
98
            _thread = new Thread(ThreadProcedure);
99 99
            _thread.Start();
100 100
        }
101 101

  
102 102
        public void Stop()
103 103
        {
104 104
            IsRunning = false;
105
            _thread.Join();
105
            if (_thread != null)
106
            {
107
                _thread.Join();
108
                _thread = null;
109
            }
106 110
        }
107 111

  
108 112
        public string EotMsg
deltarobot-vr/Assets/DeltaRobotVr/Constants.cs
1
using System.Collections;
2
using System.Collections.Generic;
3
using UnityEngine;
4

  
5
public class Constants
6
{
7
    public const float PositionScale = 0.001f;
8
    public const float LerpParam = 0.5f;
9
    public const string nameOfActuatorObj = "MyTestCube";
10
}
deltarobot-vr/Assets/DeltaRobotVr/Constants.cs.meta
1
fileFormatVersion: 2
2
guid: ee69b242cddf8f742b438dc939f4f413
3
MonoImporter:
4
  externalObjects: {}
5
  serializedVersion: 2
6
  defaultReferences: []
7
  executionOrder: 0
8
  icon: {instanceID: 0}
9
  userData: 
10
  assetBundleName: 
11
  assetBundleVariant: 
deltarobot-vr/Assets/DeltaRobotVr/CubeScript.cs
1
using DeltaRobotVr;
2
using UnityEngine;
3

  
4
public class CubeScript : MonoBehaviour
5
{
6
    private Transform _transform;
7
    
8
    void Start()
9
    {
10
        _transform = GetComponent<Transform>();
11
        
12
        Client.Instance.Start();
13
    }
14
    
15
    void Update()
16
    {
17
        if (Client.Instance.IsConnected)
18
        {
19
            var actPosition = Client.Instance.ActuatorPosition;
20
            var newPosition = MyTools.Single3Transform(actPosition.X, actPosition.Y, actPosition.Z);
21
            _transform.position = Vector3.Lerp(_transform.position, newPosition, Constants.LerpParam);
22
        }
23
    }
24

  
25
    private void OnDestroy()
26
    {
27
        Client.Instance.Stop();
28
    }
29
}
deltarobot-vr/Assets/DeltaRobotVr/CubeScript.cs.meta
1
fileFormatVersion: 2
2
guid: cfafba4e0e8b6e0adb6dda9dbc5076f8
3
MonoImporter:
4
  externalObjects: {}
5
  serializedVersion: 2
6
  defaultReferences: []
7
  executionOrder: 0
8
  icon: {instanceID: 0}
9
  userData: 
10
  assetBundleName: 
11
  assetBundleVariant: 
deltarobot-vr/Assets/DeltaRobotVr/CurrentDirectionArrow.cs
1
using System.Collections;
2
using System.Collections.Generic;
3
using UnityEngine;
4
using DeltaRobotVr;
5

  
6
public class CurrentDirectionArrow : ArrowScript
1
namespace DeltaRobotVr
7 2
{
8
    protected override Single3 getVector()
3
    public class CurrentDirectionArrow : ArrowScript
9 4
    {
10
        return Client.Instance.CurrentDirectionVector;
5
        protected override Single3 GetVector() => Client.Instance.CurrentDirectionVector;
11 6
    }
12 7
}
deltarobot-vr/Assets/DeltaRobotVr/CurveScript.cs
1
using System.Collections;
2
using System.Collections.Generic;
3 1
using UnityEngine;
4
using DeltaRobotVr;
5 2

  
6
public class CurveScript : MonoBehaviour
3
namespace DeltaRobotVr
7 4
{
8
    private long _curentCounter;
9
    private LineRenderer lr;
10
    void Start()
5
    public class CurveScript : MonoBehaviour
11 6
    {
12
        _curentCounter = Client.Instance.CurveCounter;
13
        lr = GetComponent<LineRenderer>();
14
    }
7
        private long _curentCounter;
8
        private LineRenderer lr;
9
        void Start()
10
        {
11
            _curentCounter = Client.Instance.CurveCounter;
12
            lr = GetComponent<LineRenderer>();
13
        }
15 14
   
16
    void Update()
17
    {
18
        if (Client.Instance.IsConnected)
15
        void Update()
19 16
        {
20
            var _counter = Client.Instance.CurveCounter;
21
            if(_counter != _curentCounter && Client.Instance.Curve != null)
17
            if (Client.Instance.IsConnected)
22 18
            {
23
                lr.positionCount = Client.Instance.Curve.Length;
24
                lr.SetPositions(MyTools.Single3Transform(Client.Instance.Curve));
19
                var _counter = Client.Instance.CurveCounter;
20
                if(_counter != _curentCounter && Client.Instance.Curve != null)
21
                {
22
                    lr.positionCount = Client.Instance.Curve.Length;
23
                    lr.SetPositions(Single3Utils.ToVector3(Client.Instance.Curve));
24
                }
25 25
            }
26 26
        }
27 27
    }
deltarobot-vr/Assets/DeltaRobotVr/DesiredDirectionArrow.cs
1
using System.Collections;
2
using System.Collections.Generic;
3
using UnityEngine;
4
using DeltaRobotVr;
5

  
6
public class DesiredDirectionArrow : ArrowScript
1
namespace DeltaRobotVr
7 2
{
8
    protected override Single3 getVector()
3
    public class DesiredDirectionArrow : ArrowScript
9 4
    {
10
        return Client.Instance.DesiredDirectionVector;
5
        protected override Single3 GetVector() => Client.Instance.DesiredDirectionVector;
11 6
    }
12 7
}
deltarobot-vr/Assets/DeltaRobotVr/MainScript.cs
1
using System;
2
using UnityEngine;
3

  
4
namespace DeltaRobotVr
5
{
6
    public class MainScript : MonoBehaviour
7
    {
8
        private void Start()
9
        {
10
            Client.Instance.Start();
11
        }
12

  
13
        private void OnDestroy()
14
        {
15
            Client.Instance.Stop();
16
        }
17
    }
18
}
deltarobot-vr/Assets/DeltaRobotVr/MainScript.cs.meta
1
fileFormatVersion: 2
2
guid: e836e6e7e42b45a0aeb69edb20f7f2cd
3
timeCreated: 1620806641
deltarobot-vr/Assets/DeltaRobotVr/MyTools.cs
1
using System.Collections;
2
using System.Collections.Generic;
3
using UnityEngine;
4
using DeltaRobotVr;
5

  
6
public class MyTools
7
{
8
    public static Vector3 Single3Transform(float x, float y, float z)
9
    {
10
        return new Vector3(x, y, -z) * Constants.PositionScale;
11
    }
12

  
13
    public static Vector3[] Single3Transform(Single3[] curve)
14
    {
15
        var vectors = new Vector3[curve.Length];
16
        for(int i = 0; i < curve.Length; i++)
17
        {
18
            var point = curve[i];
19
            vectors[i] = Single3Transform(point.X, point.Y, point.Z);
20
        }
21
        return vectors;
22
    }
23
}
deltarobot-vr/Assets/DeltaRobotVr/MyTools.cs.meta
1
fileFormatVersion: 2
2
guid: a7cefdb594c0bba4085f6f3ab5ab77e4
3
MonoImporter:
4
  externalObjects: {}
5
  serializedVersion: 2
6
  defaultReferences: []
7
  executionOrder: 0
8
  icon: {instanceID: 0}
9
  userData: 
10
  assetBundleName: 
11
  assetBundleVariant: 
deltarobot-vr/Assets/DeltaRobotVr/Single3Utils.cs
1
using UnityEngine;
2

  
3
namespace DeltaRobotVr
4
{
5
    public class Single3Utils
6
    {
7
        public const float PositionScale = 0.001f;
8
        
9
        public static Vector3 ToVector3(float x, float y, float z)
10
        {
11
            return new Vector3(x, y, -z) * PositionScale;
12
        }
13

  
14
        public static Vector3 ToVector3(Single3 point)
15
        {
16
            return ToVector3(point.X, point.Y, point.Z);
17
        }
18

  
19
        public static Vector3[] ToVector3(Single3[] curve)
20
        {
21
            var vectors = new Vector3[curve.Length];
22
            for(int i = 0; i < curve.Length; i++)
23
            {
24
                var point = curve[i];
25
                vectors[i] = ToVector3(point);
26
            }
27
            return vectors;
28
        }
29
    }
30
}
deltarobot-vr/Assets/DeltaRobotVr/Single3Utils.cs.meta
1
fileFormatVersion: 2
2
guid: a7cefdb594c0bba4085f6f3ab5ab77e4
3
MonoImporter:
4
  externalObjects: {}
5
  serializedVersion: 2
6
  defaultReferences: []
7
  executionOrder: 0
8
  icon: {instanceID: 0}
9
  userData: 
10
  assetBundleName: 
11
  assetBundleVariant: 
deltarobot-vr/Assets/Scenes/MainScene.unity
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.5188679, g: 0.5188679, b: 0.5188679, a: 1}
24
  m_AmbientEquatorColor: {r: 0.20754719, g: 0.20754719, b: 0.20754719, a: 1}
25
  m_AmbientGroundColor: {r: 0.3584906, g: 0.3584906, b: 0.3584906, a: 1}
26
  m_AmbientIntensity: 1
27
  m_AmbientMode: 0
28
  m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
29
  m_SkyboxMaterial: {fileID: 2100000, guid: 3a408e788dcbed6429c8d22a01b32a76, type: 2}
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: 705507994}
41
  m_IndirectSpecularColor: {r: 0.59937465, g: 0.5997504, b: 0.599488, a: 1}
42
  m_UseRadianceAmbientProbe: 0
43
--- !u!157 &3
44
LightmapSettings:
45
  m_ObjectHideFlags: 0
46
  serializedVersion: 12
47
  m_GIWorkflowMode: 0
48
  m_GISettings:
49
    serializedVersion: 2
50
    m_BounceScale: 1
51
    m_IndirectOutputScale: 1
52
    m_AlbedoBoost: 1
53
    m_EnvironmentLightingMode: 0
54
    m_EnableBakedLightmaps: 1
55
    m_EnableRealtimeLightmaps: 0
56
  m_LightmapEditorSettings:
57
    serializedVersion: 12
58
    m_Resolution: 2
59
    m_BakeResolution: 40
60
    m_AtlasSize: 1024
61
    m_AO: 0
62
    m_AOMaxDistance: 1
63
    m_CompAOExponent: 1
64
    m_CompAOExponentDirect: 0
65
    m_ExtractAmbientOcclusion: 0
66
    m_Padding: 2
67
    m_LightmapParameters: {fileID: 0}
68
    m_LightmapsBakeMode: 1
69
    m_TextureCompression: 1
70
    m_FinalGather: 0
71
    m_FinalGatherFiltering: 1
72
    m_FinalGatherRayCount: 256
73
    m_ReflectionCompression: 2
74
    m_MixedBakeMode: 2
75
    m_BakeBackend: 1
76
    m_PVRSampling: 1
77
    m_PVRDirectSampleCount: 32
78
    m_PVRSampleCount: 500
79
    m_PVRBounces: 2
80
    m_PVREnvironmentSampleCount: 500
81
    m_PVREnvironmentReferencePointCount: 2048
82
    m_PVRFilteringMode: 2
83
    m_PVRDenoiserTypeDirect: 0
84
    m_PVRDenoiserTypeIndirect: 0
85
    m_PVRDenoiserTypeAO: 0
86
    m_PVRFilterTypeDirect: 0
87
    m_PVRFilterTypeIndirect: 0
88
    m_PVRFilterTypeAO: 0
89
    m_PVREnvironmentMIS: 0
90
    m_PVRCulling: 1
91
    m_PVRFilteringGaussRadiusDirect: 1
92
    m_PVRFilteringGaussRadiusIndirect: 5
93
    m_PVRFilteringGaussRadiusAO: 2
94
    m_PVRFilteringAtrousPositionSigmaDirect: 0.5
95
    m_PVRFilteringAtrousPositionSigmaIndirect: 2
96
    m_PVRFilteringAtrousPositionSigmaAO: 1
97
    m_ExportTrainingData: 0
98
    m_TrainingDataDestination: TrainingData
99
    m_LightProbeSampleCountMultiplier: 4
100
  m_LightingDataAsset: {fileID: 112000000, guid: 8bea1fe28e0878449ae2f387e86feb57,
101
    type: 2}
102
  m_LightingSettings: {fileID: 489398869}
103
--- !u!196 &4
104
NavMeshSettings:
105
  serializedVersion: 2
106
  m_ObjectHideFlags: 0
107
  m_BuildSettings:
108
    serializedVersion: 2
109
    agentTypeID: 0
110
    agentRadius: 0.5
111
    agentHeight: 2
112
    agentSlope: 45
113
    agentClimb: 0.4
114
    ledgeDropHeight: 0
115
    maxJumpAcrossDistance: 0
116
    minRegionArea: 2
117
    manualCellSize: 0
118
    cellSize: 0.16666667
119
    manualTileSize: 0
120
    tileSize: 256
121
    accuratePlacement: 0
122
    maxJobWorkers: 0
123
    preserveTilesOutsideBounds: 0
124
    debug:
125
      m_Flags: 0
126
  m_NavMeshData: {fileID: 0}
127
--- !u!1 &67930113
128
GameObject:
129
  m_ObjectHideFlags: 0
130
  m_CorrespondingSourceObject: {fileID: 0}
131
  m_PrefabInstance: {fileID: 0}
132
  m_PrefabAsset: {fileID: 0}
133
  serializedVersion: 6
134
  m_Component:
135
  - component: {fileID: 67930116}
136
  - component: {fileID: 67930115}
137
  - component: {fileID: 67930114}
138
  m_Layer: 0
139
  m_Name: Curve
140
  m_TagString: Untagged
141
  m_Icon: {fileID: 0}
142
  m_NavMeshLayer: 0
143
  m_StaticEditorFlags: 0
144
  m_IsActive: 1
145
--- !u!114 &67930114
146
MonoBehaviour:
147
  m_ObjectHideFlags: 0
148
  m_CorrespondingSourceObject: {fileID: 0}
149
  m_PrefabInstance: {fileID: 0}
150
  m_PrefabAsset: {fileID: 0}
151
  m_GameObject: {fileID: 67930113}
152
  m_Enabled: 1
153
  m_EditorHideFlags: 0
154
  m_Script: {fileID: 11500000, guid: bb50b983128c52b48ae66147e4978d5f, type: 3}
155
  m_Name: 
156
  m_EditorClassIdentifier: 
157
--- !u!120 &67930115
158
LineRenderer:
159
  m_ObjectHideFlags: 0
160
  m_CorrespondingSourceObject: {fileID: 0}
161
  m_PrefabInstance: {fileID: 0}
162
  m_PrefabAsset: {fileID: 0}
163
  m_GameObject: {fileID: 67930113}
164
  m_Enabled: 1
165
  m_CastShadows: 1
166
  m_ReceiveShadows: 1
167
  m_DynamicOccludee: 1
168
  m_MotionVectors: 0
169
  m_LightProbeUsage: 0
170
  m_ReflectionProbeUsage: 0
171
  m_RayTracingMode: 0
172
  m_RayTraceProcedural: 0
173
  m_RenderingLayerMask: 1
174
  m_RendererPriority: 0
175
  m_Materials:
176
  - {fileID: 2100000, guid: 4fccf519985fbac4cafe474b1888cf3c, type: 2}
177
  m_StaticBatchInfo:
178
    firstSubMesh: 0
179
    subMeshCount: 0
180
  m_StaticBatchRoot: {fileID: 0}
181
  m_ProbeAnchor: {fileID: 0}
182
  m_LightProbeVolumeOverride: {fileID: 0}
183
  m_ScaleInLightmap: 1
184
  m_ReceiveGI: 1
185
  m_PreserveUVs: 0
186
  m_IgnoreNormalsForChartDetection: 0
187
  m_ImportantGI: 0
188
  m_StitchLightmapSeams: 1
189
  m_SelectedEditorRenderState: 3
190
  m_MinimumChartSize: 4
191
  m_AutoUVMaxDistance: 0.5
192
  m_AutoUVMaxAngle: 89
193
  m_LightmapParameters: {fileID: 0}
194
  m_SortingLayerID: 0
195
  m_SortingLayer: 0
196
  m_SortingOrder: 0
197
  m_Positions:
198
  - {x: 0, y: 0, z: 0}
199
  - {x: 0, y: 0, z: 1}
200
  m_Parameters:
201
    serializedVersion: 3
202
    widthMultiplier: 0.1
203
    widthCurve:
204
      serializedVersion: 2
205
      m_Curve:
206
      - serializedVersion: 3
207
        time: 0
208
        value: 1
209
        inSlope: 0
210
        outSlope: 0
211
        tangentMode: 0
212
        weightedMode: 0
213
        inWeight: 0.33333334
214
        outWeight: 0.33333334
215
      m_PreInfinity: 2
216
      m_PostInfinity: 2
217
      m_RotationOrder: 4
218
    colorGradient:
219
      serializedVersion: 2
220
      key0: {r: 1, g: 1, b: 1, a: 1}
221
      key1: {r: 1, g: 1, b: 1, a: 1}
222
      key2: {r: 0, g: 0, b: 0, a: 0}
223
      key3: {r: 0, g: 0, b: 0, a: 0}
224
      key4: {r: 0, g: 0, b: 0, a: 0}
225
      key5: {r: 0, g: 0, b: 0, a: 0}
226
      key6: {r: 0, g: 0, b: 0, a: 0}
227
      key7: {r: 0, g: 0, b: 0, a: 0}
228
      ctime0: 0
229
      ctime1: 65535
230
      ctime2: 0
231
      ctime3: 0
232
      ctime4: 0
233
      ctime5: 0
234
      ctime6: 0
235
      ctime7: 0
236
      atime0: 0
237
      atime1: 65535
238
      atime2: 0
239
      atime3: 0
240
      atime4: 0
241
      atime5: 0
242
      atime6: 0
243
      atime7: 0
244
      m_Mode: 0
245
      m_NumColorKeys: 2
246
      m_NumAlphaKeys: 2
247
    numCornerVertices: 0
248
    numCapVertices: 0
249
    alignment: 0
250
    textureMode: 0
251
    shadowBias: 0.5
252
    generateLightingData: 0
253
  m_UseWorldSpace: 0
254
  m_Loop: 0
255
--- !u!4 &67930116
256
Transform:
257
  m_ObjectHideFlags: 0
258
  m_CorrespondingSourceObject: {fileID: 0}
259
  m_PrefabInstance: {fileID: 0}
260
  m_PrefabAsset: {fileID: 0}
261
  m_GameObject: {fileID: 67930113}
262
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
263
  m_LocalPosition: {x: 0, y: 0, z: -4.5}
264
  m_LocalScale: {x: 1, y: 1, z: 1}
265
  m_Children: []
266
  m_Father: {fileID: 0}
267
  m_RootOrder: 5
268
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
269
--- !u!1 &323861522
270
GameObject:
271
  m_ObjectHideFlags: 0
272
  m_CorrespondingSourceObject: {fileID: 0}
273
  m_PrefabInstance: {fileID: 0}
274
  m_PrefabAsset: {fileID: 0}
275
  serializedVersion: 6
276
  m_Component:
277
  - component: {fileID: 323861524}
278
  - component: {fileID: 323861523}
279
  m_Layer: 0
280
  m_Name: MainScript
281
  m_TagString: Untagged
282
  m_Icon: {fileID: 0}
283
  m_NavMeshLayer: 0
284
  m_StaticEditorFlags: 0
285
  m_IsActive: 1
286
--- !u!114 &323861523
287
MonoBehaviour:
288
  m_ObjectHideFlags: 0
289
  m_CorrespondingSourceObject: {fileID: 0}
290
  m_PrefabInstance: {fileID: 0}
291
  m_PrefabAsset: {fileID: 0}
292
  m_GameObject: {fileID: 323861522}
293
  m_Enabled: 1
294
  m_EditorHideFlags: 0
295
  m_Script: {fileID: 11500000, guid: e836e6e7e42b45a0aeb69edb20f7f2cd, type: 3}
296
  m_Name: 
297
  m_EditorClassIdentifier: 
298
--- !u!4 &323861524
299
Transform:
300
  m_ObjectHideFlags: 0
301
  m_CorrespondingSourceObject: {fileID: 0}
302
  m_PrefabInstance: {fileID: 0}
303
  m_PrefabAsset: {fileID: 0}
304
  m_GameObject: {fileID: 323861522}
305
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
306
  m_LocalPosition: {x: 0, y: 0, z: 0}
307
  m_LocalScale: {x: 1, y: 1, z: 1}
308
  m_Children: []
309
  m_Father: {fileID: 0}
310
  m_RootOrder: 0
311
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
312
--- !u!850595691 &489398869
313
LightingSettings:
314
  m_ObjectHideFlags: 0
315
  m_CorrespondingSourceObject: {fileID: 0}
316
  m_PrefabInstance: {fileID: 0}
317
  m_PrefabAsset: {fileID: 0}
318
  m_Name: Settings.lighting
319
  serializedVersion: 3
320
  m_GIWorkflowMode: 0
321
  m_EnableBakedLightmaps: 1
322
  m_EnableRealtimeLightmaps: 0
323
  m_RealtimeEnvironmentLighting: 1
324
  m_BounceScale: 1
325
  m_AlbedoBoost: 1
326
  m_IndirectOutputScale: 1
327
  m_UsingShadowmask: 1
328
  m_BakeBackend: 1
329
  m_LightmapMaxSize: 1024
330
  m_BakeResolution: 40
331
  m_Padding: 2
332
  m_TextureCompression: 1
333
  m_AO: 0
334
  m_AOMaxDistance: 1
335
  m_CompAOExponent: 1
336
  m_CompAOExponentDirect: 0
337
  m_ExtractAO: 0
338
  m_MixedBakeMode: 2
339
  m_LightmapsBakeMode: 1
340
  m_FilterMode: 1
341
  m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0}
342
  m_ExportTrainingData: 0
343
  m_TrainingDataDestination: TrainingData
344
  m_RealtimeResolution: 2
345
  m_ForceWhiteAlbedo: 0
346
  m_ForceUpdates: 0
347
  m_FinalGather: 0
348
  m_FinalGatherRayCount: 256
349
  m_FinalGatherFiltering: 1
350
  m_PVRCulling: 1
351
  m_PVRSampling: 1
352
  m_PVRDirectSampleCount: 32
353
  m_PVRSampleCount: 500
354
  m_PVREnvironmentSampleCount: 500
355
  m_PVREnvironmentReferencePointCount: 2048
356
  m_LightProbeSampleCountMultiplier: 4
357
  m_PVRBounces: 2
358
  m_PVRMinBounces: 2
359
  m_PVREnvironmentMIS: 0
360
  m_PVRFilteringMode: 2
361
  m_PVRDenoiserTypeDirect: 0
362
  m_PVRDenoiserTypeIndirect: 0
363
  m_PVRDenoiserTypeAO: 0
364
  m_PVRFilterTypeDirect: 0
365
  m_PVRFilterTypeIndirect: 0
366
  m_PVRFilterTypeAO: 0
367
  m_PVRFilteringGaussRadiusDirect: 1
368
  m_PVRFilteringGaussRadiusIndirect: 5
369
  m_PVRFilteringGaussRadiusAO: 2
370
  m_PVRFilteringAtrousPositionSigmaDirect: 0.5
371
  m_PVRFilteringAtrousPositionSigmaIndirect: 2
372
  m_PVRFilteringAtrousPositionSigmaAO: 1
373
--- !u!1 &541096545
374
GameObject:
375
  m_ObjectHideFlags: 0
376
  m_CorrespondingSourceObject: {fileID: 0}
377
  m_PrefabInstance: {fileID: 0}
378
  m_PrefabAsset: {fileID: 0}
379
  serializedVersion: 6
380
  m_Component:
381
  - component: {fileID: 541096546}
382
  - component: {fileID: 541096547}
383
  m_Layer: 0
384
  m_Name: RightController
385
  m_TagString: Untagged
386
  m_Icon: {fileID: 0}
387
  m_NavMeshLayer: 0
388
  m_StaticEditorFlags: 0
389
  m_IsActive: 1
390
--- !u!4 &541096546
391
Transform:
392
  m_ObjectHideFlags: 0
393
  m_CorrespondingSourceObject: {fileID: 0}
394
  m_PrefabInstance: {fileID: 0}
395
  m_PrefabAsset: {fileID: 0}
396
  m_GameObject: {fileID: 541096545}
397
  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
398
  m_LocalPosition: {x: 0, y: 0, z: 0}
399
  m_LocalScale: {x: 1, y: 1, z: 1}
400
  m_Children:
401
  - {fileID: 1949593303}
402
  m_Father: {fileID: 1725982594}
403
  m_RootOrder: 1
404
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
405
--- !u!114 &541096547
406
MonoBehaviour:
407
  m_ObjectHideFlags: 0
408
  m_CorrespondingSourceObject: {fileID: 0}
409
  m_PrefabInstance: {fileID: 0}
410
  m_PrefabAsset: {fileID: 0}
411
  m_GameObject: {fileID: 541096545}
412
  m_Enabled: 1
413
  m_EditorHideFlags: 0
414
  m_Script: {fileID: 11500000, guid: 5a2a9c34df4095f47b9ca8f975175f5b, type: 3}
415
  m_Name: 
416
  m_EditorClassIdentifier: 
417
  m_Device: 1
418
  m_PoseSource: 5
419
  m_PoseProviderComponent: {fileID: 0}
420
  m_TrackingType: 0
421
  m_UpdateType: 0
422
  m_UseRelativeTransform: 0
423
--- !u!1 &599916901
424
GameObject:
425
  m_ObjectHideFlags: 0
426
  m_CorrespondingSourceObject: {fileID: 0}
427
  m_PrefabInstance: {fileID: 0}
428
  m_PrefabAsset: {fileID: 0}
429
  serializedVersion: 6
430
  m_Component:
431
  - component: {fileID: 599916905}
432
  - component: {fileID: 599916904}
433
  - component: {fileID: 599916903}
434
  - component: {fileID: 599916902}
435
  m_Layer: 0
436
  m_Name: Plane
437
  m_TagString: Untagged
438
  m_Icon: {fileID: 0}
439
  m_NavMeshLayer: 0
440
  m_StaticEditorFlags: 0
441
  m_IsActive: 1
442
--- !u!64 &599916902
443
MeshCollider:
444
  m_ObjectHideFlags: 0
445
  m_CorrespondingSourceObject: {fileID: 0}
446
  m_PrefabInstance: {fileID: 0}
447
  m_PrefabAsset: {fileID: 0}
448
  m_GameObject: {fileID: 599916901}
449
  m_Material: {fileID: 0}
450
  m_IsTrigger: 0
451
  m_Enabled: 1
452
  serializedVersion: 4
453
  m_Convex: 0
454
  m_CookingOptions: 30
455
  m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
456
--- !u!23 &599916903
457
MeshRenderer:
458
  m_ObjectHideFlags: 0
459
  m_CorrespondingSourceObject: {fileID: 0}
460
  m_PrefabInstance: {fileID: 0}
461
  m_PrefabAsset: {fileID: 0}
462
  m_GameObject: {fileID: 599916901}
463
  m_Enabled: 1
464
  m_CastShadows: 1
465
  m_ReceiveShadows: 1
466
  m_DynamicOccludee: 1
467
  m_MotionVectors: 1
468
  m_LightProbeUsage: 1
469
  m_ReflectionProbeUsage: 1
470
  m_RayTracingMode: 2
471
  m_RayTraceProcedural: 0
472
  m_RenderingLayerMask: 1
473
  m_RendererPriority: 0
474
  m_Materials:
475
  - {fileID: 2100000, guid: 3f9336a53d1d2ea43895699cc52cb411, type: 2}
476
  m_StaticBatchInfo:
477
    firstSubMesh: 0
478
    subMeshCount: 0
479
  m_StaticBatchRoot: {fileID: 0}
480
  m_ProbeAnchor: {fileID: 0}
481
  m_LightProbeVolumeOverride: {fileID: 0}
482
  m_ScaleInLightmap: 1
483
  m_ReceiveGI: 1
484
  m_PreserveUVs: 0
485
  m_IgnoreNormalsForChartDetection: 0
486
  m_ImportantGI: 0
487
  m_StitchLightmapSeams: 1
488
  m_SelectedEditorRenderState: 3
489
  m_MinimumChartSize: 4
490
  m_AutoUVMaxDistance: 0.5
491
  m_AutoUVMaxAngle: 89
492
  m_LightmapParameters: {fileID: 0}
493
  m_SortingLayerID: 0
494
  m_SortingLayer: 0
495
  m_SortingOrder: 0
496
  m_AdditionalVertexStreams: {fileID: 0}
497
--- !u!33 &599916904
498
MeshFilter:
499
  m_ObjectHideFlags: 0
500
  m_CorrespondingSourceObject: {fileID: 0}
501
  m_PrefabInstance: {fileID: 0}
502
  m_PrefabAsset: {fileID: 0}
503
  m_GameObject: {fileID: 599916901}
504
  m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
505
--- !u!4 &599916905
506
Transform:
507
  m_ObjectHideFlags: 0
508
  m_CorrespondingSourceObject: {fileID: 0}
509
  m_PrefabInstance: {fileID: 0}
510
  m_PrefabAsset: {fileID: 0}
511
  m_GameObject: {fileID: 599916901}
512
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
513
  m_LocalPosition: {x: 0, y: -4, z: 0}
514
  m_LocalScale: {x: 10, y: 10, z: 10}
515
  m_Children: []
516
  m_Father: {fileID: 0}
517
  m_RootOrder: 3
518
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
519
--- !u!1 &705507993
520
GameObject:
521
  m_ObjectHideFlags: 0
522
  m_CorrespondingSourceObject: {fileID: 0}
523
  m_PrefabInstance: {fileID: 0}
524
  m_PrefabAsset: {fileID: 0}
525
  serializedVersion: 6
526
  m_Component:
527
  - component: {fileID: 705507995}
528
  - component: {fileID: 705507994}
529
  m_Layer: 0
530
  m_Name: Directional Light
531
  m_TagString: Untagged
532
  m_Icon: {fileID: 0}
533
  m_NavMeshLayer: 0
534
  m_StaticEditorFlags: 0
535
  m_IsActive: 1
536
--- !u!108 &705507994
537
Light:
538
  m_ObjectHideFlags: 0
539
  m_CorrespondingSourceObject: {fileID: 0}
540
  m_PrefabInstance: {fileID: 0}
541
  m_PrefabAsset: {fileID: 0}
542
  m_GameObject: {fileID: 705507993}
543
  m_Enabled: 1
544
  serializedVersion: 10
545
  m_Type: 1
546
  m_Shape: 0
547
  m_Color: {r: 1, g: 1, b: 1, a: 1}
548
  m_Intensity: 1
549
  m_Range: 10
550
  m_SpotAngle: 30
551
  m_InnerSpotAngle: 21.802082
552
  m_CookieSize: 10
553
  m_Shadows:
554
    m_Type: 2
555
    m_Resolution: -1
556
    m_CustomResolution: -1
557
    m_Strength: 1
558
    m_Bias: 0.05
559
    m_NormalBias: 0.4
560
    m_NearPlane: 0.2
561
    m_CullingMatrixOverride:
562
      e00: 1
563
      e01: 0
564
      e02: 0
565
      e03: 0
566
      e10: 0
567
      e11: 1
568
      e12: 0
569
      e13: 0
570
      e20: 0
571
      e21: 0
572
      e22: 1
573
      e23: 0
574
      e30: 0
575
      e31: 0
576
      e32: 0
577
      e33: 1
578
    m_UseCullingMatrixOverride: 0
579
  m_Cookie: {fileID: 0}
580
  m_DrawHalo: 0
581
  m_Flare: {fileID: 0}
582
  m_RenderMode: 0
583
  m_CullingMask:
584
    serializedVersion: 2
585
    m_Bits: 4294967295
586
  m_RenderingLayerMask: 1
587
  m_Lightmapping: 1
588
  m_LightShadowCasterMode: 0
589
  m_AreaSize: {x: 1, y: 1}
590
  m_BounceIntensity: 1
591
  m_ColorTemperature: 6570
592
  m_UseColorTemperature: 0
593
  m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
594
  m_UseBoundingSphereOverride: 0
595
  m_UseViewFrustumForShadowCasterCull: 1
596
  m_ShadowRadius: 0
597
  m_ShadowAngle: 0
598
--- !u!4 &705507995
599
Transform:
600
  m_ObjectHideFlags: 0
601
  m_CorrespondingSourceObject: {fileID: 0}
602
  m_PrefabInstance: {fileID: 0}
603
  m_PrefabAsset: {fileID: 0}
604
  m_GameObject: {fileID: 705507993}
605
  m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
606
  m_LocalPosition: {x: 0, y: 3, z: 0}
607
  m_LocalScale: {x: 1, y: 1, z: 1}
608
  m_Children: []
609
  m_Father: {fileID: 0}
610
  m_RootOrder: 1
611
  m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
612
--- !u!1 &898637392
613
GameObject:
614
  m_ObjectHideFlags: 0
615
  m_CorrespondingSourceObject: {fileID: 0}
616
  m_PrefabInstance: {fileID: 0}
617
  m_PrefabAsset: {fileID: 0}
618
  serializedVersion: 6
619
  m_Component:
620
  - component: {fileID: 898637393}
621
  - component: {fileID: 898637395}
622
  - component: {fileID: 898637394}
623
  m_Layer: 0
624
  m_Name: DesiredDirectionArrow
625
  m_TagString: Untagged
626
  m_Icon: {fileID: 0}
627
  m_NavMeshLayer: 0
628
  m_StaticEditorFlags: 0
629
  m_IsActive: 1
630
--- !u!4 &898637393
631
Transform:
632
  m_ObjectHideFlags: 0
633
  m_CorrespondingSourceObject: {fileID: 0}
634
  m_PrefabInstance: {fileID: 0}
635
  m_PrefabAsset: {fileID: 0}
636
  m_GameObject: {fileID: 898637392}
637
  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
638
  m_LocalPosition: {x: 0, y: 0, z: 0}
639
  m_LocalScale: {x: 1, y: 1, z: 1}
640
  m_Children: []
641
  m_Father: {fileID: 2021860140}
642
  m_RootOrder: 1
643
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
644
--- !u!114 &898637394
645
MonoBehaviour:
646
  m_ObjectHideFlags: 0
647
  m_CorrespondingSourceObject: {fileID: 0}
648
  m_PrefabInstance: {fileID: 0}
649
  m_PrefabAsset: {fileID: 0}
650
  m_GameObject: {fileID: 898637392}
651
  m_Enabled: 1
652
  m_EditorHideFlags: 0
653
  m_Script: {fileID: 11500000, guid: 0405dab141f621d4aae1935de042ed9d, type: 3}
654
  m_Name: 
655
  m_EditorClassIdentifier: 
656
--- !u!120 &898637395
657
LineRenderer:
658
  m_ObjectHideFlags: 0
659
  m_CorrespondingSourceObject: {fileID: 0}
660
  m_PrefabInstance: {fileID: 0}
661
  m_PrefabAsset: {fileID: 0}
662
  m_GameObject: {fileID: 898637392}
663
  m_Enabled: 1
664
  m_CastShadows: 1
665
  m_ReceiveShadows: 1
666
  m_DynamicOccludee: 1
667
  m_MotionVectors: 0
668
  m_LightProbeUsage: 0
669
  m_ReflectionProbeUsage: 0
670
  m_RayTracingMode: 0
671
  m_RayTraceProcedural: 0
672
  m_RenderingLayerMask: 1
673
  m_RendererPriority: 0
674
  m_Materials:
675
  - {fileID: 2100000, guid: b01c4eddab52a9d47b02db54cc78e6c2, type: 2}
676
  m_StaticBatchInfo:
677
    firstSubMesh: 0
678
    subMeshCount: 0
679
  m_StaticBatchRoot: {fileID: 0}
680
  m_ProbeAnchor: {fileID: 0}
681
  m_LightProbeVolumeOverride: {fileID: 0}
682
  m_ScaleInLightmap: 1
683
  m_ReceiveGI: 1
684
  m_PreserveUVs: 0
685
  m_IgnoreNormalsForChartDetection: 0
686
  m_ImportantGI: 0
687
  m_StitchLightmapSeams: 1
688
  m_SelectedEditorRenderState: 3
689
  m_MinimumChartSize: 4
690
  m_AutoUVMaxDistance: 0.5
691
  m_AutoUVMaxAngle: 89
692
  m_LightmapParameters: {fileID: 0}
693
  m_SortingLayerID: 0
694
  m_SortingLayer: 0
695
  m_SortingOrder: 0
696
  m_Positions:
697
  - {x: 0, y: 0, z: 0}
698
  - {x: 0, y: 0, z: 1}
699
  m_Parameters:
700
    serializedVersion: 3
701
    widthMultiplier: 0.1
702
    widthCurve:
703
      serializedVersion: 2
704
      m_Curve:
705
      - serializedVersion: 3
706
        time: 0
707
        value: 1
708
        inSlope: 0
709
        outSlope: 0
710
        tangentMode: 0
711
        weightedMode: 0
712
        inWeight: 0.33333334
713
        outWeight: 0.33333334
714
      m_PreInfinity: 2
715
      m_PostInfinity: 2
716
      m_RotationOrder: 4
717
    colorGradient:
718
      serializedVersion: 2
719
      key0: {r: 1, g: 1, b: 1, a: 1}
720
      key1: {r: 1, g: 1, b: 1, a: 1}
721
      key2: {r: 0, g: 0, b: 0, a: 0}
722
      key3: {r: 0, g: 0, b: 0, a: 0}
723
      key4: {r: 0, g: 0, b: 0, a: 0}
724
      key5: {r: 0, g: 0, b: 0, a: 0}
725
      key6: {r: 0, g: 0, b: 0, a: 0}
726
      key7: {r: 0, g: 0, b: 0, a: 0}
727
      ctime0: 0
728
      ctime1: 65535
729
      ctime2: 0
730
      ctime3: 0
731
      ctime4: 0
732
      ctime5: 0
733
      ctime6: 0
734
      ctime7: 0
735
      atime0: 0
736
      atime1: 65535
737
      atime2: 0
738
      atime3: 0
739
      atime4: 0
740
      atime5: 0
741
      atime6: 0
742
      atime7: 0
743
      m_Mode: 0
744
      m_NumColorKeys: 2
745
      m_NumAlphaKeys: 2
746
    numCornerVertices: 0
747
    numCapVertices: 0
748
    alignment: 0
749
    textureMode: 0
750
    shadowBias: 0.5
751
    generateLightingData: 0
752
  m_UseWorldSpace: 0
753
  m_Loop: 0
754
--- !u!1 &963194225
755
GameObject:
756
  m_ObjectHideFlags: 0
757
  m_CorrespondingSourceObject: {fileID: 0}
758
  m_PrefabInstance: {fileID: 0}
759
  m_PrefabAsset: {fileID: 0}
760
  serializedVersion: 6
761
  m_Component:
762
  - component: {fileID: 963194228}
763
  - component: {fileID: 963194227}
764
  - component: {fileID: 963194226}
765
  - component: {fileID: 963194229}
766
  m_Layer: 0
767
  m_Name: Main Camera
768
  m_TagString: MainCamera
769
  m_Icon: {fileID: 0}
770
  m_NavMeshLayer: 0
771
  m_StaticEditorFlags: 0
772
  m_IsActive: 1
773
--- !u!81 &963194226
774
AudioListener:
775
  m_ObjectHideFlags: 0
776
  m_CorrespondingSourceObject: {fileID: 0}
777
  m_PrefabInstance: {fileID: 0}
778
  m_PrefabAsset: {fileID: 0}
779
  m_GameObject: {fileID: 963194225}
780
  m_Enabled: 1
781
--- !u!20 &963194227
782
Camera:
783
  m_ObjectHideFlags: 0
784
  m_CorrespondingSourceObject: {fileID: 0}
785
  m_PrefabInstance: {fileID: 0}
786
  m_PrefabAsset: {fileID: 0}
787
  m_GameObject: {fileID: 963194225}
788
  m_Enabled: 1
789
  serializedVersion: 2
790
  m_ClearFlags: 1
791
  m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0}
792
  m_projectionMatrixMode: 1
793
  m_GateFitMode: 2
794
  m_FOVAxisMode: 0
795
  m_SensorSize: {x: 36, y: 24}
796
  m_LensShift: {x: 0, y: 0}
797
  m_FocalLength: 50
798
  m_NormalizedViewPortRect:
799
    serializedVersion: 2
800
    x: 0
801
    y: 0
802
    width: 1
803
    height: 1
804
  near clip plane: 0.3
805
  far clip plane: 1000
806
  field of view: 60
807
  orthographic: 0
808
  orthographic size: 5
809
  m_Depth: -1
810
  m_CullingMask:
811
    serializedVersion: 2
812
    m_Bits: 4294967295
813
  m_RenderingPath: -1
814
  m_TargetTexture: {fileID: 0}
815
  m_TargetDisplay: 0
816
  m_TargetEye: 3
817
  m_HDR: 1
818
  m_AllowMSAA: 1
819
  m_AllowDynamicResolution: 0
820
  m_ForceIntoRT: 0
821
  m_OcclusionCulling: 1
822
  m_StereoConvergence: 10
823
  m_StereoSeparation: 0.022
824
--- !u!4 &963194228
825
Transform:
826
  m_ObjectHideFlags: 0
827
  m_CorrespondingSourceObject: {fileID: 0}
828
  m_PrefabInstance: {fileID: 0}
829
  m_PrefabAsset: {fileID: 0}
830
  m_GameObject: {fileID: 963194225}
831
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
832
  m_LocalPosition: {x: 0, y: 0, z: 0}
833
  m_LocalScale: {x: 1, y: 1, z: 1}
834
  m_Children: []
835
  m_Father: {fileID: 1045848416}
836
  m_RootOrder: 0
837
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
838
--- !u!114 &963194229
839
MonoBehaviour:
840
  m_ObjectHideFlags: 0
841
  m_CorrespondingSourceObject: {fileID: 0}
842
  m_PrefabInstance: {fileID: 0}
843
  m_PrefabAsset: {fileID: 0}
844
  m_GameObject: {fileID: 963194225}
845
  m_Enabled: 1
846
  m_EditorHideFlags: 0
847
  m_Script: {fileID: 11500000, guid: 5a2a9c34df4095f47b9ca8f975175f5b, type: 3}
848
  m_Name: 
849
  m_EditorClassIdentifier: 
850
  m_Device: 0
851
  m_PoseSource: 2
852
  m_PoseProviderComponent: {fileID: 0}
853
  m_TrackingType: 0
854
  m_UpdateType: 0
855
  m_UseRelativeTransform: 0
856
--- !u!1 &1045848415
857
GameObject:
858
  m_ObjectHideFlags: 0
859
  m_CorrespondingSourceObject: {fileID: 0}
860
  m_PrefabInstance: {fileID: 0}
861
  m_PrefabAsset: {fileID: 0}
862
  serializedVersion: 6
863
  m_Component:
864
  - component: {fileID: 1045848416}
865
  m_Layer: 0
866
  m_Name: Camera Offset
867
  m_TagString: Untagged
868
  m_Icon: {fileID: 0}
869
  m_NavMeshLayer: 0
870
  m_StaticEditorFlags: 0
871
  m_IsActive: 1
872
--- !u!4 &1045848416
873
Transform:
874
  m_ObjectHideFlags: 0
875
  m_CorrespondingSourceObject: {fileID: 0}
876
  m_PrefabInstance: {fileID: 0}
877
  m_PrefabAsset: {fileID: 0}
878
  m_GameObject: {fileID: 1045848415}
879
  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
880
  m_LocalPosition: {x: 0, y: 1.36144, z: 0}
881
  m_LocalScale: {x: 1, y: 1, z: 1}
882
  m_Children:
883
  - {fileID: 963194228}
884
  m_Father: {fileID: 1725982594}
885
  m_RootOrder: 0
886
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
887
--- !u!1 &1147993583
888
GameObject:
889
  m_ObjectHideFlags: 0
890
  m_CorrespondingSourceObject: {fileID: 0}
891
  m_PrefabInstance: {fileID: 0}
892
  m_PrefabAsset: {fileID: 0}
893
  serializedVersion: 6
894
  m_Component:
895
  - component: {fileID: 1147993584}
896
  - component: {fileID: 1147993586}
897
  - component: {fileID: 1147993585}
898
  m_Layer: 0
899
  m_Name: CurrentDirectionArrow
900
  m_TagString: Untagged
901
  m_Icon: {fileID: 0}
902
  m_NavMeshLayer: 0
903
  m_StaticEditorFlags: 0
904
  m_IsActive: 1
905
--- !u!4 &1147993584
906
Transform:
907
  m_ObjectHideFlags: 0
908
  m_CorrespondingSourceObject: {fileID: 0}
909
  m_PrefabInstance: {fileID: 0}
910
  m_PrefabAsset: {fileID: 0}
911
  m_GameObject: {fileID: 1147993583}
912
  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
913
  m_LocalPosition: {x: 0, y: 0, z: 0}
914
  m_LocalScale: {x: 1, y: 1, z: 1}
915
  m_Children: []
916
  m_Father: {fileID: 2021860140}
917
  m_RootOrder: 0
918
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
919
--- !u!114 &1147993585
920
MonoBehaviour:
921
  m_ObjectHideFlags: 0
922
  m_CorrespondingSourceObject: {fileID: 0}
923
  m_PrefabInstance: {fileID: 0}
924
  m_PrefabAsset: {fileID: 0}
925
  m_GameObject: {fileID: 1147993583}
926
  m_Enabled: 1
927
  m_EditorHideFlags: 0
928
  m_Script: {fileID: 11500000, guid: 7d92319639667d643a9722c4c835a70b, type: 3}
929
  m_Name: 
930
  m_EditorClassIdentifier: 
931
--- !u!120 &1147993586
932
LineRenderer:
933
  m_ObjectHideFlags: 0
934
  m_CorrespondingSourceObject: {fileID: 0}
935
  m_PrefabInstance: {fileID: 0}
936
  m_PrefabAsset: {fileID: 0}
937
  m_GameObject: {fileID: 1147993583}
938
  m_Enabled: 1
939
  m_CastShadows: 1
940
  m_ReceiveShadows: 1
941
  m_DynamicOccludee: 1
942
  m_MotionVectors: 0
943
  m_LightProbeUsage: 0
944
  m_ReflectionProbeUsage: 0
945
  m_RayTracingMode: 0
946
  m_RayTraceProcedural: 0
947
  m_RenderingLayerMask: 1
948
  m_RendererPriority: 0
949
  m_Materials:
950
  - {fileID: 2100000, guid: ba5e94541fd24e84d8a7cef22c83d162, type: 2}
951
  m_StaticBatchInfo:
952
    firstSubMesh: 0
953
    subMeshCount: 0
954
  m_StaticBatchRoot: {fileID: 0}
955
  m_ProbeAnchor: {fileID: 0}
956
  m_LightProbeVolumeOverride: {fileID: 0}
957
  m_ScaleInLightmap: 1
958
  m_ReceiveGI: 1
959
  m_PreserveUVs: 0
960
  m_IgnoreNormalsForChartDetection: 0
961
  m_ImportantGI: 0
962
  m_StitchLightmapSeams: 1
963
  m_SelectedEditorRenderState: 3
964
  m_MinimumChartSize: 4
965
  m_AutoUVMaxDistance: 0.5
966
  m_AutoUVMaxAngle: 89
967
  m_LightmapParameters: {fileID: 0}
968
  m_SortingLayerID: 0
969
  m_SortingLayer: 0
970
  m_SortingOrder: 0
971
  m_Positions:
972
  - {x: 0, y: 0, z: 0}
973
  - {x: 0, y: 0, z: 1}
974
  m_Parameters:
975
    serializedVersion: 3
976
    widthMultiplier: 0.1
977
    widthCurve:
978
      serializedVersion: 2
979
      m_Curve:
980
      - serializedVersion: 3
981
        time: 0
982
        value: 1
983
        inSlope: 0
984
        outSlope: 0
985
        tangentMode: 0
986
        weightedMode: 0
987
        inWeight: 0.33333334
988
        outWeight: 0.33333334
989
      m_PreInfinity: 2
990
      m_PostInfinity: 2
991
      m_RotationOrder: 4
992
    colorGradient:
993
      serializedVersion: 2
994
      key0: {r: 1, g: 1, b: 1, a: 1}
995
      key1: {r: 1, g: 1, b: 1, a: 1}
996
      key2: {r: 0, g: 0, b: 0, a: 0}
997
      key3: {r: 0, g: 0, b: 0, a: 0}
998
      key4: {r: 0, g: 0, b: 0, a: 0}
999
      key5: {r: 0, g: 0, b: 0, a: 0}
1000
      key6: {r: 0, g: 0, b: 0, a: 0}
1001
      key7: {r: 0, g: 0, b: 0, a: 0}
1002
      ctime0: 0
1003
      ctime1: 65535
1004
      ctime2: 0
1005
      ctime3: 0
1006
      ctime4: 0
1007
      ctime5: 0
1008
      ctime6: 0
1009
      ctime7: 0
1010
      atime0: 0
1011
      atime1: 65535
1012
      atime2: 0
1013
      atime3: 0
1014
      atime4: 0
1015
      atime5: 0
1016
      atime6: 0
1017
      atime7: 0
1018
      m_Mode: 0
1019
      m_NumColorKeys: 2
1020
      m_NumAlphaKeys: 2
1021
    numCornerVertices: 0
1022
    numCapVertices: 0
1023
    alignment: 0
1024
    textureMode: 0
1025
    shadowBias: 0.5
1026
    generateLightingData: 0
1027
  m_UseWorldSpace: 0
1028
  m_Loop: 0
1029
--- !u!1 &1177787071
1030
GameObject:
1031
  m_ObjectHideFlags: 0
1032
  m_CorrespondingSourceObject: {fileID: 0}
1033
  m_PrefabInstance: {fileID: 0}
1034
  m_PrefabAsset: {fileID: 0}
1035
  serializedVersion: 6
1036
  m_Component:
1037
  - component: {fileID: 1177787072}
1038
  - component: {fileID: 1177787074}
1039
  - component: {fileID: 1177787073}
1040
  m_Layer: 0
1041
  m_Name: Sphere
1042
  m_TagString: Untagged
1043
  m_Icon: {fileID: 0}
1044
  m_NavMeshLayer: 0
1045
  m_StaticEditorFlags: 0
1046
  m_IsActive: 1
1047
--- !u!4 &1177787072
1048
Transform:
1049
  m_ObjectHideFlags: 0
1050
  m_CorrespondingSourceObject: {fileID: 0}
1051
  m_PrefabInstance: {fileID: 0}
1052
  m_PrefabAsset: {fileID: 0}
1053
  m_GameObject: {fileID: 1177787071}
1054
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
1055
  m_LocalPosition: {x: 0, y: 0, z: 0}
1056
  m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
1057
  m_Children: []
1058
  m_Father: {fileID: 2021860140}
1059
  m_RootOrder: 2
1060
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
1061
--- !u!23 &1177787073
1062
MeshRenderer:
... Rozdílový soubor je zkrácen, protože jeho délka přesahuje max. limit.

Také k dispozici: Unified diff