Added Tunnel change + Checkpoint system + cutscene

This commit is contained in:
Rabidus 2023-08-01 11:28:14 +03:00
parent 473b402547
commit 53710529b5
26 changed files with 20952 additions and 3118 deletions

View File

@ -0,0 +1,300 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &-6820942250325231075
AnimationClip:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Recorded
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 5.016667
value: 3
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_PathPosition
path: cm
classID: 114
script: {fileID: 11500000, guid: 418e42c7d0405cc48a7b83f63ea53bb3, type: 3}
m_PPtrCurves: []
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 1007302526
attribute: 2871404689
script: {fileID: 11500000, guid: 418e42c7d0405cc48a7b83f63ea53bb3, type: 3}
typeID: 114
customType: 0
isPPtrCurve: 0
pptrCurveMapping: []
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 5.016667
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 0
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 5.016667
value: 3
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_PathPosition
path: cm
classID: 114
script: {fileID: 11500000, guid: 418e42c7d0405cc48a7b83f63ea53bb3, type: 3}
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []
--- !u!114 &-4726290731646128747
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 15c38f6fa1940124db1ab7f6fe7268d1, type: 3}
m_Name: Signal Emitter
m_EditorClassIdentifier:
m_Time: 0.23333333333333334
m_Retroactive: 0
m_EmitOnce: 0
m_Asset: {fileID: 11400000, guid: b9b7ecdc9900a0f408e9f9e1ef15a777, type: 2}
--- !u!114 &-2312926219215221702
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 21bf7f712d84d26478ebe6a299f21738, type: 3}
m_Name: Activation Track
m_EditorClassIdentifier:
m_Version: 3
m_AnimClip: {fileID: 0}
m_Locked: 0
m_Muted: 0
m_CustomPlayableFullTypename:
m_Curves: {fileID: 0}
m_Parent: {fileID: 11400000}
m_Children: []
m_Clips:
- m_Version: 1
m_Start: 0
m_ClipIn: 0
m_Asset: {fileID: -1967441712241239135}
m_Duration: 5
m_TimeScale: 1
m_ParentTrack: {fileID: -2312926219215221702}
m_EaseInDuration: 0
m_EaseOutDuration: 0
m_BlendInDuration: 0
m_BlendOutDuration: 0
m_MixInCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_MixOutCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_BlendInCurveMode: 0
m_BlendOutCurveMode: 0
m_ExposedParameterNames: []
m_AnimationCurves: {fileID: 0}
m_Recordable: 0
m_PostExtrapolationMode: 0
m_PreExtrapolationMode: 0
m_PostExtrapolationTime: 0
m_PreExtrapolationTime: 0
m_DisplayName: Active
m_Markers:
m_Objects: []
m_PostPlaybackState: 3
--- !u!114 &-1967441712241239135
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fde0d25a170598d46a0b9dc16b4527a5, type: 3}
m_Name: ActivationPlayableAsset
m_EditorClassIdentifier:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: bfda56da833e2384a9677cd3c976a436, type: 3}
m_Name: TimeLine 1
m_EditorClassIdentifier:
m_Version: 0
m_Tracks:
- {fileID: 3139024901344664434}
- {fileID: -2312926219215221702}
m_FixedDuration: 0
m_EditorSettings:
m_Framerate: 60
m_ScenePreview: 1
m_DurationMode: 0
m_MarkerTrack: {fileID: 0}
--- !u!114 &3139024901344664434
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d21dcc2386d650c4597f3633c75a1f98, type: 3}
m_Name: Animation Track
m_EditorClassIdentifier:
m_Version: 3
m_AnimClip: {fileID: 0}
m_Locked: 0
m_Muted: 0
m_CustomPlayableFullTypename:
m_Curves: {fileID: 0}
m_Parent: {fileID: 11400000}
m_Children: []
m_Clips: []
m_Markers:
m_Objects: []
m_InfiniteClipPreExtrapolation: 1
m_InfiniteClipPostExtrapolation: 1
m_InfiniteClipOffsetPosition: {x: 0, y: 0, z: 0}
m_InfiniteClipOffsetEulerAngles: {x: 0, y: 0, z: 0}
m_InfiniteClipTimeOffset: 0
m_InfiniteClipRemoveOffset: 0
m_InfiniteClipApplyFootIK: 1
mInfiniteClipLoop: 0
m_MatchTargetFields: 63
m_Position: {x: 0, y: 0, z: 0}
m_EulerAngles: {x: 0, y: 0, z: 0}
m_AvatarMask: {fileID: 0}
m_ApplyAvatarMask: 1
m_TrackOffset: 0
m_InfiniteClip: {fileID: -6820942250325231075}
m_OpenClipOffsetRotation: {x: 0, y: 0, z: 0, w: 1}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_ApplyOffsets: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: dc8ba4d0ef053114ab592bdaee087b5f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -130,7 +130,7 @@ MonoBehaviour:
m_Retroactive: 0
m_EmitOnce: 0
m_Asset: {fileID: 11400000, guid: b9b7ecdc9900a0f408e9f9e1ef15a777, type: 2}
--- !u!114 &-3822608875321680757
--- !u!114 &-2312926219215221702
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
@ -139,8 +139,8 @@ MonoBehaviour:
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d21dcc2386d650c4597f3633c75a1f98, type: 3}
m_Name: Animation Track (1)
m_Script: {fileID: 11500000, guid: 21bf7f712d84d26478ebe6a299f21738, type: 3}
m_Name: Activation Track
m_EditorClassIdentifier:
m_Version: 3
m_AnimClip: {fileID: 0}
@ -150,141 +150,91 @@ MonoBehaviour:
m_Curves: {fileID: 0}
m_Parent: {fileID: 11400000}
m_Children: []
m_Clips: []
m_Clips:
- m_Version: 1
m_Start: 0
m_ClipIn: 0
m_Asset: {fileID: -1967441712241239135}
m_Duration: 5
m_TimeScale: 1
m_ParentTrack: {fileID: -2312926219215221702}
m_EaseInDuration: 0
m_EaseOutDuration: 0
m_BlendInDuration: 0
m_BlendOutDuration: 0
m_MixInCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_MixOutCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_BlendInCurveMode: 0
m_BlendOutCurveMode: 0
m_ExposedParameterNames: []
m_AnimationCurves: {fileID: 0}
m_Recordable: 0
m_PostExtrapolationMode: 0
m_PreExtrapolationMode: 0
m_PostExtrapolationTime: 0
m_PreExtrapolationTime: 0
m_DisplayName: Active
m_Markers:
m_Objects: []
m_InfiniteClipPreExtrapolation: 1
m_InfiniteClipPostExtrapolation: 1
m_InfiniteClipOffsetPosition: {x: 0, y: 0, z: 0}
m_InfiniteClipOffsetEulerAngles: {x: 0, y: 0, z: 0}
m_InfiniteClipTimeOffset: 0
m_InfiniteClipRemoveOffset: 0
m_InfiniteClipApplyFootIK: 1
mInfiniteClipLoop: 0
m_MatchTargetFields: 63
m_Position: {x: 0, y: 0, z: 0}
m_EulerAngles: {x: 0, y: 0, z: 0}
m_AvatarMask: {fileID: 0}
m_ApplyAvatarMask: 1
m_TrackOffset: 0
m_InfiniteClip: {fileID: -1052092550266895353}
m_OpenClipOffsetRotation: {x: 0, y: 0, z: 0, w: 1}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_ApplyOffsets: 0
--- !u!74 &-1052092550266895353
AnimationClip:
m_ObjectHideFlags: 0
m_PostPlaybackState: 3
--- !u!114 &-1967441712241239135
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Recorded (1)
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.0166667
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Color.a
path:
classID: 114
script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3}
m_PPtrCurves: []
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 0
attribute: 304273561
script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3}
typeID: 114
customType: 0
isPPtrCurve: 0
pptrCurveMapping: []
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 1.0166667
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 0
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.0166667
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Color.a
path:
classID: 114
script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3}
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fde0d25a170598d46a0b9dc16b4527a5, type: 3}
m_Name: ActivationPlayableAsset
m_EditorClassIdentifier:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
@ -300,7 +250,7 @@ MonoBehaviour:
m_Version: 0
m_Tracks:
- {fileID: 3139024901344664434}
- {fileID: -3822608875321680757}
- {fileID: -2312926219215221702}
m_FixedDuration: 0
m_EditorSettings:
m_Framerate: 60

View File

@ -17,7 +17,7 @@ public class CutsceneController : MonoBehaviour
private void Awake()
{
_shipMoveSides = FindObjectOfType<ShipMoveSides>();
_shipMoveSides = FindObjectOfType<ShipPathFollower>().GetComponent<ShipMoveSides>();
_previewModule = FindObjectOfType<PreviewModule>();
}

21
Assets/Enemy.cs Normal file
View File

@ -0,0 +1,21 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : TriggerZone
{
[SerializeField]
[Range(0, 1)]
private float _velocityMultiplier;
protected override void InZone()
{
base.InZone();
_ship.FastBreak(_velocityMultiplier);
}
protected override void OutZone()
{
base.OutZone();
}
}

11
Assets/Enemy.cs.meta Normal file
View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: dad424c466cdca84d84e09f37ba5f16e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,53 @@
using Dreamteck.Splines;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ExampleJunctionHandler : MonoBehaviour
{
SplineTracer tracer;
private void Awake()
{
tracer = GetComponent<SplineTracer>();
}
private void OnEnable()
{
tracer.onNode += OnNode; //onNode is called every time the tracer passes by a Node
}
private void OnDisable()
{
tracer.onNode -= OnNode;
}
private void OnNode(List<SplineTracer.NodeConnection> passed)
{
Node.Connection[] connections = passed[0].node.GetConnections();
if (connections.Length == 1) return;
int newConnection = 1;
//if (connections[newConnection].spline == tracer.spline && connections[newConnection].pointIndex == passed[0].point)
//{
// newConnection++;
// if (newConnection >= connections.Length) newConnection = 0;
//}
if (connections[newConnection].spline != tracer.spline)
{
SwitchSpline(connections[newConnection]);
}
}
void SwitchSpline(Node.Connection to)
{
tracer.spline = to.spline;
tracer.RebuildImmediate();
double startpercent = tracer.ClipPercent(to.spline.GetPointPercent(to.pointIndex));
tracer.SetPercent(startpercent);
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 6988d10318326e0498916bb7565ab2d2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,732 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &9027889519054844106
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9027889519054844105}
- component: {fileID: 9027889519054844102}
- component: {fileID: 9027889519054844103}
m_Layer: 0
m_Name: Cube (2)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &9027889519054844105
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519054844106}
m_LocalRotation: {x: 7.566996e-10, y: 0.0000000018044375, z: 0.7071069, w: 0.70710677}
m_LocalPosition: {x: -44.7, y: 15.1999855, z: -0.00012943149}
m_LocalScale: {x: 31.18154, y: 3.2158186, z: 27.443003}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 9027889520435396036}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90}
--- !u!33 &9027889519054844102
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519054844106}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &9027889519054844103
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519054844106}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &9027889519290796216
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9027889519290796215}
- component: {fileID: 9027889519290796212}
- component: {fileID: 9027889519290796213}
- component: {fileID: 9027889519290796214}
m_Layer: 5
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &9027889519290796215
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519290796216}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 9027889519819089750}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 1038.34, y: 259.59}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &9027889519290796212
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519290796216}
m_CullTransparentMesh: 1
--- !u!114 &9027889519290796213
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519290796216}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: New Text
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 159.73
m_fontSizeBase: 36
m_fontWeight: 400
m_enableAutoSizing: 1
m_fontSizeMin: 18
m_fontSizeMax: 159.73
m_fontStyle: 1
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!114 &9027889519290796214
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519290796216}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b64a96362efa9ba44802d57e2e074f27, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &9027889519720641281
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9027889519720641280}
- component: {fileID: 9027889519720641407}
- component: {fileID: 9027889519720641405}
- component: {fileID: 9027889519720641406}
m_Layer: 0
m_Name: ChechPoint
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &9027889519720641280
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519720641281}
m_LocalRotation: {x: 0.113263935, y: 0.6495184, z: 0.18114269, w: 0.72971535}
m_LocalPosition: {x: -844.029, y: 336.82404, z: -937.0411}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 9027889520435396036}
- {fileID: 9027889519819089750}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &9027889519720641407
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519720641281}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0def5156137c6d14082064fa7b5d5247, type: 3}
m_Name:
m_EditorClassIdentifier:
updateMethod: 0
_spline: {fileID: 0}
_autoUpdate: 1
_rotationModifier:
blend: 1
useClippedPercent: 0
keys: []
_offsetModifier:
blend: 1
useClippedPercent: 0
keys: []
_colorModifier:
blend: 1
useClippedPercent: 0
keys: []
_sizeModifier:
blend: 1
useClippedPercent: 0
keys: []
_clipFromSample:
position: {x: 104.326294, y: -5.5460205, z: -1932.3633}
up: {x: 0, y: 1, z: 0}
forward: {x: -0.001450564, y: 0.002455365, z: 0.99999595}
color: {r: 1, g: 1, b: 1, a: 1}
size: 1
percent: 0
_clipToSample:
position: {x: 18.377234, y: 416.88184, z: 507}
up: {x: 0.00000011950283, y: 1, z: 0.000000044703484}
forward: {x: 0.01662724, y: -0.008324823, z: 0.9998271}
color: {r: 1, g: 1, b: 1, a: 1}
size: 1
percent: 1
_loopSamples: 0
_clipFrom: 0
_clipTo: 1
animClipFrom: 0
animClipTo: 1
multithreaded: 1
buildOnAwake: 1
buildOnEnable: 0
applyDirectionRotation: 1
useTriggers: 0
triggerGroup: 0
_direction: 1
_dontLerpDirection: 0
_physicsMode: 0
_motion:
_hasOffset: 0
_hasRotationOffset: 0
_offset: {x: 0, y: 0}
_rotationOffset: {x: 0, y: 0, z: 0}
_baseScale: {x: 1, y: 1, z: 1}
_2dMode: 0
velocityHandleMode: 0
applyPositionX: 1
applyPositionY: 1
applyPositionZ: 1
applyPosition2D: 1
retainLocalPosition: 0
direction: 1
applyRotationX: 1
applyRotationY: 1
applyRotationZ: 1
applyRotation2D: 1
retainLocalRotation: 0
applyScaleX: 0
applyScaleY: 0
applyScaleZ: 0
targetUser: {fileID: 9027889519720641407}
targetRigidbody: {fileID: 0}
targetRigidbody2D: {fileID: 0}
targetTransform: {fileID: 9027889519720641280}
_result:
position: {x: -844.029, y: 336.82404, z: -937.0411}
up: {x: 0.1670486, y: 0.8914568, z: 0.4211883}
forward: {x: 0.988961, y: 0.07001016, z: 0.13059437}
color: {r: 1, g: 1, b: 1, a: 1}
size: 1
percent: 0.7720000147819519
_finalResult:
position: {x: -844.029, y: 336.82404, z: -937.0411}
up: {x: 0.1670486, y: 0.8914568, z: 0.4211883}
forward: {x: 0.988961, y: 0.07001016, z: 0.13059437}
color: {r: 1, g: 1, b: 1, a: 1}
size: 1
percent: 0.7720000147819519
_targetObject: {fileID: 0}
_followTarget: {fileID: 0}
_followTargetDistance: 0
_followLoop: 0
_followTargetDirection: -1
_position: 0.772
_mode: 0
--- !u!114 &9027889519720641405
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519720641281}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d5b4cc07864af944c865d83ebac09a58, type: 3}
m_Name:
m_EditorClassIdentifier:
OnCheckpointPass:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 9027889519720641406}
m_TargetAssemblyTypeName: TimeBonus, Assembly-CSharp
m_MethodName: Collect
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: CutsceneController, Assembly-CSharp
m_MethodName: ShowCutscene
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: MonumentController, Assembly-CSharp
m_MethodName: UnlockMonument
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &9027889519720641406
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519720641281}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 28b9e93c12a050746982d0ae2c8dab98, type: 3}
m_Name:
m_EditorClassIdentifier:
_timeBonus: 30
_selfDestroy: 0
--- !u!1 &9027889519819089751
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9027889519819089750}
- component: {fileID: 9027889519819089747}
- component: {fileID: 9027889519819089748}
- component: {fileID: 9027889519819089749}
m_Layer: 5
m_Name: UICanvas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &9027889519819089750
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519819089751}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.025143133, y: 0.025143143, z: 0.025143132}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 9027889519290796215}
m_Father: {fileID: 9027889519720641280}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 17.2}
m_SizeDelta: {x: 1920, y: 1080}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!223 &9027889519819089747
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519819089751}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 2
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 1
m_TargetDisplay: 0
--- !u!222 &9027889519819089748
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519819089751}
m_CullTransparentMesh: 0
--- !u!114 &9027889519819089749
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889519819089751}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 2
m_PresetInfoIsWorld: 1
--- !u!1 &9027889520163053932
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9027889520163053931}
- component: {fileID: 9027889520163053928}
- component: {fileID: 9027889520163053929}
m_Layer: 0
m_Name: Cube (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &9027889520163053931
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889520163053932}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 93.21515, y: 1, z: 27.443003}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 9027889520435396036}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &9027889520163053928
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889520163053932}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &9027889520163053929
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889520163053932}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &9027889520435396037
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9027889520435396036}
m_Layer: 0
m_Name: Mesh
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &9027889520435396036
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889520435396037}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 9027889520163053931}
- {fileID: 9027889519054844105}
- {fileID: 9027889520768316107}
m_Father: {fileID: 9027889519720641280}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &9027889520768316108
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9027889520768316107}
- component: {fileID: 9027889520768316104}
- component: {fileID: 9027889520768316105}
m_Layer: 0
m_Name: Cube (3)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &9027889520768316107
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889520768316108}
m_LocalRotation: {x: 7.566996e-10, y: 0.0000000018044375, z: 0.7071069, w: 0.70710677}
m_LocalPosition: {x: 44.7, y: 15.2, z: -0}
m_LocalScale: {x: 31.18154, y: 3.2158186, z: 27.443003}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 9027889520435396036}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90}
--- !u!33 &9027889520768316104
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889520768316108}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &9027889520768316105
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9027889520768316108}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: fd9a908ef09d42f4395b489e3926f8a4
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -11,6 +11,8 @@ GameObject:
- component: {fileID: 7421859052776871299}
- component: {fileID: 7421859052776871297}
- component: {fileID: 7421859052776871298}
- component: {fileID: 3534949435892362466}
- component: {fileID: 2818139868934988179}
m_Layer: 0
m_Name: Enemy
m_TagString: Untagged
@ -25,7 +27,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7421859052776871300}
m_LocalRotation: {x: 0.03778451, y: -0.32901353, z: -0.053379007, w: 0.9420579}
m_LocalRotation: {x: 0.037786912, y: -0.32901558, z: -0.053381644, w: 0.94205695}
m_LocalPosition: {x: -606.65704, y: 288.06433, z: -464.5491}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@ -33,7 +35,7 @@ Transform:
- {fileID: 7417793244928283402}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 2.067, y: -38.634, z: -7.211}
--- !u!114 &7421859052776871297
MonoBehaviour:
m_ObjectHideFlags: 0
@ -66,16 +68,16 @@ MonoBehaviour:
useClippedPercent: 0
keys: []
_clipFromSample:
position: {x: -606.65704, y: 288.06433, z: -464.5491}
up: {x: 0.07269505, y: 0.99126023, z: 0.1100838}
forward: {x: -0.6239334, y: -0.036065564, z: 0.7806449}
position: {x: 104.326294, y: -5.5460205, z: -1932.3633}
up: {x: 0, y: 1, z: 0}
forward: {x: -0.001450564, y: 0.002455365, z: 0.99999595}
color: {r: 1, g: 1, b: 1, a: 1}
size: 1
percent: 0
_clipToSample:
position: {x: -606.65704, y: 288.06433, z: -464.5491}
up: {x: 0.07269464, y: 0.99126035, z: 0.11008358}
forward: {x: -0.6239334, y: -0.036065564, z: 0.7806449}
position: {x: 18.377234, y: 416.88184, z: 507}
up: {x: 0.00000011950283, y: 1, z: 0.000000044703484}
forward: {x: 0.01662724, y: -0.008324823, z: 0.9998271}
color: {r: 1, g: 1, b: 1, a: 1}
size: 1
percent: 1
@ -120,22 +122,22 @@ MonoBehaviour:
targetRigidbody2D: {fileID: 0}
targetTransform: {fileID: 7421859052776871299}
_result:
position: {x: -606.65704, y: 288.06433, z: -464.5491}
up: {x: 0.07269505, y: 0.99126023, z: 0.1100838}
forward: {x: -0.6239334, y: -0.036065564, z: 0.7806449}
position: {x: 104.326294, y: -5.5460205, z: -1932.3633}
up: {x: 0, y: 1, z: 0}
forward: {x: -0.001450564, y: 0.002455365, z: 0.99999595}
color: {r: 1, g: 1, b: 1, a: 1}
size: 1
percent: 0
_finalResult:
position: {x: -606.65704, y: 288.06433, z: -464.5491}
up: {x: 0.07269505, y: 0.99126023, z: 0.1100838}
forward: {x: -0.6239334, y: -0.036065564, z: 0.7806449}
position: {x: 104.326294, y: -5.5460205, z: -1932.3633}
up: {x: 0, y: 1, z: 0}
forward: {x: -0.001450564, y: 0.002455365, z: 0.99999595}
color: {r: 1, g: 1, b: 1, a: 1}
size: 1
percent: 0
wrapMode: 1
wrapMode: 0
followMode: 0
autoStartPosition: 0
autoStartPosition: 1
_follow: 1
_startPosition: 0
preserveUniformSpeedWithOffset: 0
@ -163,12 +165,12 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 604a3d1981eee7543a0d98eb9bca640d, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 95
minSpeed: 95
speed: 90
minSpeed: 90
maxSpeed: 110
frictionForce: 0
gravityForce: 9
slopeRange: 60
frictionForce: 0.1
gravityForce: 9.8
slopeRange: 45
speedGain:
serializedVersion: 2
m_Curve:
@ -217,8 +219,32 @@ MonoBehaviour:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
brakeSpeed: 0
brakeReleaseSpeed: 0
brakeSpeed: 1
brakeReleaseSpeed: 0.5
--- !u!114 &3534949435892362466
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7421859052776871300}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6988d10318326e0498916bb7565ab2d2, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &2818139868934988179
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7421859052776871300}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c341857221d71244488736fcc1ac2c12, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &7421859052905866338
PrefabInstance:
m_ObjectHideFlags: 0
@ -232,7 +258,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 1105393632560438, guid: 029ca07b3daebf948888bac3d786cffc, type: 3}
propertyPath: m_IsActive
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1259882122376334, guid: 029ca07b3daebf948888bac3d786cffc, type: 3}
propertyPath: m_Name
@ -268,7 +294,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4212073626515304, guid: 029ca07b3daebf948888bac3d786cffc, type: 3}
propertyPath: m_LocalPosition.x
value: -20.58
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4212073626515304, guid: 029ca07b3daebf948888bac3d786cffc, type: 3}
propertyPath: m_LocalPosition.y
@ -299,6 +325,11 @@ PrefabInstance:
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
- target: {fileID: 65680316996111322, guid: 029ca07b3daebf948888bac3d786cffc,
type: 3}
propertyPath: m_IsTrigger
value: 1
objectReference: {fileID: 0}
- target: {fileID: 82378202132951928, guid: 029ca07b3daebf948888bac3d786cffc,
type: 3}
propertyPath: m_Enabled
@ -392,6 +423,7 @@ MonoBehaviour:
_value: 0
_speed: 40
_rollAngle: 35
_isEnable: 1
--- !u!114 &7421859052905866367
MonoBehaviour:
m_ObjectHideFlags: 0
@ -405,3 +437,23 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_sideTimeChangeInterval: 4
_randomOffset: 0.5
--- !u!1 &7420894409731268948 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1105393632560438, guid: 029ca07b3daebf948888bac3d786cffc,
type: 3}
m_PrefabInstance: {fileID: 7421859052905866338}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1313667029
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7420894409731268948}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dad424c466cdca84d84e09f37ba5f16e, type: 3}
m_Name:
m_EditorClassIdentifier:
_velocityMultiplier: 0.1

View File

@ -76,6 +76,154 @@ MonoBehaviour:
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &1549287480
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1549287481}
- component: {fileID: 1549287483}
- component: {fileID: 1549287482}
- component: {fileID: 1549287484}
m_Layer: 5
m_Name: ScoreText
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1549287481
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1549287480}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -22.9}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6227973560533611649}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -0, y: -77.2}
m_SizeDelta: {x: 200, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1549287483
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1549287480}
m_CullTransparentMesh: 1
--- !u!114 &1549287482
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1549287480}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 0
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4278246655
m_fontColor: {r: 1, g: 0.8640462, b: 0, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 44.75
m_fontSizeBase: 36
m_fontWeight: 400
m_enableAutoSizing: 1
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 1
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!114 &1549287484
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1549287480}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4a14752bce1e85a47ad22bd4e89cbe2f, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1670522527
GameObject:
m_ObjectHideFlags: 0
@ -10617,6 +10765,9 @@ GameObject:
- component: {fileID: 7985013475254128920}
- component: {fileID: 7985013475254128914}
- component: {fileID: 7985013475254128915}
- component: {fileID: 274767705}
- component: {fileID: 274767703}
- component: {fileID: 274767706}
m_Layer: 0
m_Name: Classic Hovership (Arcade)
m_TagString: Untagged
@ -10673,6 +10824,132 @@ MonoBehaviour:
_speed: 40
_rollAngle: 25
_isEnable: 1
--- !u!54 &274767705
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7985013475254128923}
serializedVersion: 2
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 0
m_IsKinematic: 1
m_Interpolate: 1
m_Constraints: 0
m_CollisionDetection: 2
--- !u!114 &274767703
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7985013475254128923}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 192b46c3d7503a9499ef4f5c8801170d, type: 3}
m_Name:
m_EditorClassIdentifier:
_layerMask:
serializedVersion: 2
m_Bits: 4096
OnTriggerEnterEvent:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 7985013476349946330}
m_TargetAssemblyTypeName: CollectionsModule, Assembly-CSharp
m_MethodName: OnTriggerCollectItem
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
OnTriggerStayEvent:
m_PersistentCalls:
m_Calls: []
OnTriggerExitEvent:
m_PersistentCalls:
m_Calls: []
--- !u!114 &274767706
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7985013475254128923}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6953b8e14a3f3c440989f27f67aaf8fd, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 5
minSpeed: 5
maxSpeed: 150
frictionForce: 0.1
gravityForce: 0
slopeRange: 0
follower: {fileID: 7985013476349946335}
speedGain:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: -0.0005568516
outSlope: -0.0005568516
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0.60669506
- serializedVersion: 3
time: 1
value: 0
inSlope: -1
outSlope: -1
tangentMode: 34
weightedMode: 0
inWeight: 0.33333334
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
speedLoss:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 2
outSlope: 2
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
brakeSpeed: 1
brakeReleaseSpeed: 0.5
soundFadeLength: 0.15
LeftTrigger: {fileID: -5982496924579745919, guid: e39f4b35a6db18348b41eb0262520e69,
type: 3}
RightTrigger: {fileID: 83097790271614945, guid: e39f4b35a6db18348b41eb0262520e69,
type: 3}
--- !u!1 &7985013475257117732
GameObject:
m_ObjectHideFlags: 0
@ -11841,14 +12118,13 @@ GameObject:
m_Component:
- component: {fileID: 7985013476107513812}
- component: {fileID: 7985013476107513810}
- component: {fileID: 7985013476107513813}
m_Layer: 27
m_Name: Collision
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!4 &7985013476107513812
Transform:
m_ObjectHideFlags: 0
@ -11877,42 +12153,6 @@ BoxCollider:
serializedVersion: 2
m_Size: {x: 7.000002, y: 2.235003, z: 11.4761305}
m_Center: {x: 0, y: 0.3824985, z: -0.7619361}
--- !u!114 &7985013476107513813
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7985013476107513815}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 192b46c3d7503a9499ef4f5c8801170d, type: 3}
m_Name:
m_EditorClassIdentifier:
_layerMask:
serializedVersion: 2
m_Bits: 4096
OnTriggerEnterEvent:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 7985013476349946330}
m_TargetAssemblyTypeName: CollectionsModule, Assembly-CSharp
m_MethodName: OnTriggerCollectItem
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
OnTriggerStayEvent:
m_PersistentCalls:
m_Calls: []
OnTriggerExitEvent:
m_PersistentCalls:
m_Calls: []
--- !u!1 &7985013476184062557
GameObject:
m_ObjectHideFlags: 0
@ -12268,9 +12508,10 @@ GameObject:
m_Component:
- component: {fileID: 7985013476349946332}
- component: {fileID: 7985013476349946335}
- component: {fileID: 7985013476349946333}
- component: {fileID: 7985013476349946330}
- component: {fileID: 1776897261}
- component: {fileID: 1776897262}
- component: {fileID: 1776897263}
m_Layer: 0
m_Name: Player
m_TagString: Untagged
@ -12333,9 +12574,9 @@ MonoBehaviour:
size: 1
percent: 0
_clipToSample:
position: {x: -74.14575, y: 526.9452, z: 1171.6927}
up: {x: 0, y: 1, z: 0}
forward: {x: -0.07148356, y: 0.08994536, z: 0.99337804}
position: {x: 18.377234, y: 416.88184, z: 507}
up: {x: 0.00000011950283, y: 1, z: 0.000000044703484}
forward: {x: 0.01662724, y: -0.008324823, z: 0.9998271}
color: {r: 1, g: 1, b: 1, a: 1}
size: 1
percent: 1
@ -12393,7 +12634,7 @@ MonoBehaviour:
color: {r: 1, g: 1, b: 1, a: 1}
size: 1
percent: 0
wrapMode: 1
wrapMode: 0
followMode: 0
autoStartPosition: 0
_follow: 1
@ -12411,79 +12652,6 @@ MonoBehaviour:
_unityOnBeginningReached:
m_PersistentCalls:
m_Calls: []
--- !u!114 &7985013476349946333
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7985013476349946145}
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6953b8e14a3f3c440989f27f67aaf8fd, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 5
minSpeed: 5
maxSpeed: 100
frictionForce: 0.1
gravityForce: 0
slopeRange: 0
speedGain:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: -0.0005568516
outSlope: -0.0005568516
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0.60669506
- serializedVersion: 3
time: 1
value: 0
inSlope: -1
outSlope: -1
tangentMode: 34
weightedMode: 0
inWeight: 0.33333334
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
speedLoss:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 2
outSlope: 2
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
brakeSpeed: 1
brakeReleaseSpeed: 0.5
soundFadeLength: 0.15
LeftTrigger: {fileID: -5982496924579745919, guid: e39f4b35a6db18348b41eb0262520e69,
type: 3}
RightTrigger: {fileID: 83097790271614945, guid: e39f4b35a6db18348b41eb0262520e69,
type: 3}
--- !u!114 &7985013476349946330
MonoBehaviour:
m_ObjectHideFlags: 0
@ -12509,6 +12677,32 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_previewPanel: {fileID: 1319590887960717849}
_secondDisplayPreviewImage: {fileID: 0}
--- !u!114 &1776897262
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7985013476349946145}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ebae1d7cf904b2b45bebfc7003811937, type: 3}
m_Name:
m_EditorClassIdentifier:
_energy: 0
--- !u!114 &1776897263
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7985013476349946145}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6988d10318326e0498916bb7565ab2d2, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &7985013476361284345
GameObject:
m_ObjectHideFlags: 0

View File

@ -2,11 +2,14 @@ using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PreviewModule : MonoBehaviour
{
[SerializeField]
private GameObject _previewPanel;
[SerializeField]
private RawImage _secondDisplayPreviewImage;
private bool _isShow = false;
@ -31,10 +34,12 @@ public class PreviewModule : MonoBehaviour
private void ShowPanel()
{
_previewPanel.SetActive(true);
_secondDisplayPreviewImage.gameObject.SetActive(true);
}
private void HidePanel()
{
_previewPanel.SetActive(false);
_secondDisplayPreviewImage.gameObject.SetActive(false);
}
}

File diff suppressed because one or more lines are too long

View File

@ -12,13 +12,12 @@ public class BoostZone : TriggerZone
protected override void InZone()
{
base.InZone();
_ship.StopBoost();
_ship.AddBoost(_boostAmmount, _boostTime);
//_ship.StopBoost();
//_ship.AddBoost(_boostAmmount, _boostTime);
}
protected override void OutZone()
{
base.OutZone();
//_ship.StopBoost();
}
}

View File

@ -6,9 +6,9 @@ public class CollectionsModule : MonoBehaviour
{
public void OnTriggerCollectItem(Collider other)
{
if (other.TryGetComponent(out ICollectable collectable))
if (other.TryGetComponent(out IInteractable collectable))
{
collectable.Collect();
collectable.Interact();
}
}
}

View File

@ -5,7 +5,9 @@ using UnityEngine;
public class EnemyAI : MonoBehaviour
{
[SerializeField]
private float _sideTimeChangeInterval;
private float _sideTimeChangeInterval;
[SerializeField]
private float _randomOffset = 0.5f;
private ShipMoveSides moveSides;
private float newX = 10;
@ -25,7 +27,7 @@ public class EnemyAI : MonoBehaviour
while (true)
{
newX = Random.Range(-moveSides.Radius, moveSides.Radius);
yield return new WaitForSeconds(_sideTimeChangeInterval);
yield return new WaitForSeconds(_sideTimeChangeInterval + Random.Range(-_randomOffset, _randomOffset));
}
}

View File

@ -2,7 +2,7 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnergyItem : MonoBehaviour, ICollectable
public class EnergyItem : MonoBehaviour, IInteractable
{
[SerializeField]
private float _energy = 1;
@ -14,7 +14,7 @@ public class EnergyItem : MonoBehaviour, ICollectable
_energyController = FindObjectOfType<EnergyController>();
}
public void Collect()
public void Interact()
{
_energyController.Energy += _energy;
Destroy(gameObject);

View File

@ -2,7 +2,7 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public interface ICollectable
public interface IInteractable
{
public void Collect();
public void Interact();
}

View File

@ -11,8 +11,8 @@ public class MultiplyVelocityZone : TriggerZone
protected override void InZone()
{
base.InZone();
_ship.StopBoost();
_ship.MultiplyVelocity(_velocityMultiplier);
//_ship.StopBoost();
//_ship.MultiplyVelocity(_velocityMultiplier);
}
protected override void OutZone()

View File

@ -14,7 +14,8 @@ public class ShipPathFollower : MonoBehaviour
public float frictionForce = 0.1f;
public float gravityForce = 1f;
public float slopeRange = 60f;
SplineFollower follower;
[SerializeField]
private SplineFollower follower;
public AnimationCurve speedGain;
public AnimationCurve speedLoss;
public float brakeSpeed = 0f;
@ -30,12 +31,6 @@ public class ShipPathFollower : MonoBehaviour
public InputActionReference LeftTrigger;
public InputActionReference RightTrigger;
// Use this for initialization
void Start()
{
follower = GetComponent<SplineFollower>();
}
// Update is called once per frame
void Update()
@ -68,8 +63,11 @@ public class ShipPathFollower : MonoBehaviour
}
follower.followSpeed = speed;
follower.followSpeed *= (1f - brakeForce);
if (brakeTime > Time.time) brakeForce = Mathf.MoveTowards(brakeForce, 1f, Time.deltaTime * brakeSpeed);
else brakeForce = Mathf.MoveTowards(brakeForce, 0f, Time.deltaTime * brakeReleaseSpeed);
if (brakeTime > Time.time)
brakeForce = Mathf.MoveTowards(brakeForce, 1f, Time.deltaTime * brakeSpeed);
else
brakeForce = Mathf.MoveTowards(brakeForce, 0f, Time.deltaTime * brakeReleaseSpeed);
speedPercent = Mathf.Clamp01(speed / maxSpeed) * (1f - brakeForce);
OnSpeedChange?.Invoke(speed);
@ -80,6 +78,12 @@ public class ShipPathFollower : MonoBehaviour
brakeTime = Time.time + time;
}
public void FastBreak(float multiplier)
{
speed *= multiplier;
Debug.Log("fast break");
}
public void RemoveBrake()
{
brakeTime = 0f;

View File

@ -2,7 +2,7 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TimeBonus : MonoBehaviour, ICollectable
public class TimeBonus : MonoBehaviour, IInteractable
{
[SerializeField]
private int _timeBonus;
@ -16,7 +16,7 @@ public class TimeBonus : MonoBehaviour, ICollectable
_timerCounter = FindObjectOfType<vTimerCounter>();
}
public void Collect()
public void Interact()
{
_timerCounter.AddTime(_timeBonus);
if (_selfDestroy)

View File

@ -1,15 +1,14 @@
using SciFiShipController;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TriggerZone : MonoBehaviour
{
protected ShipControlModule _ship;
protected ShipPathFollower _ship;
protected void OnTriggerEnter(Collider other)
{
if (other.gameObject.TryGetComponent(out ShipControlModule ship))
if (other.gameObject.TryGetComponent(out ShipPathFollower ship))
{
_ship = ship;
InZone();

15
Assets/SplineSetter.cs Normal file
View File

@ -0,0 +1,15 @@
using Dreamteck.Splines;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SplineSetter : MonoBehaviour
{
private SplineFollower _follower;
private void Awake()
{
_follower = GetComponent<SplineFollower>();
_follower.spline = GetComponentInParent<SplineComputer>();
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c341857221d71244488736fcc1ac2c12
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: