Starting to integrate the new art
This commit is contained in:
@@ -113,6 +113,146 @@ MeshCollider:
|
||||
m_Convex: 0
|
||||
m_CookingOptions: 30
|
||||
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!1 &1699298839218166779
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7047078567482699607}
|
||||
- component: {fileID: 18885969086235008}
|
||||
- component: {fileID: 6184765541825861383}
|
||||
- component: {fileID: 7747694789893425261}
|
||||
m_Layer: 0
|
||||
m_Name: DeathCam
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &7047078567482699607
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1699298839218166779}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0.4999999, z: -11}
|
||||
m_LocalScale: {x: 0.4115226, y: 0.24691355, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 6261725771962263685}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &18885969086235008
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1699298839218166779}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f9dfa5b682dcd46bda6128250e975f58, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Unity.Cinemachine::Unity.Cinemachine.CinemachineCamera
|
||||
Priority:
|
||||
Enabled: 1
|
||||
m_Value: 10
|
||||
OutputChannel: 1
|
||||
StandbyUpdate: 2
|
||||
m_StreamingVersion: 20241001
|
||||
m_LegacyPriority: 0
|
||||
Target:
|
||||
TrackingTarget: {fileID: 0}
|
||||
LookAtTarget: {fileID: 0}
|
||||
CustomLookAtTarget: 0
|
||||
Lens:
|
||||
FieldOfView: 60.000004
|
||||
OrthographicSize: 5
|
||||
NearClipPlane: 0.3
|
||||
FarClipPlane: 1000
|
||||
Dutch: 0
|
||||
ModeOverride: 0
|
||||
PhysicalProperties:
|
||||
GateFit: 2
|
||||
SensorSize: {x: 21.946, y: 16.002}
|
||||
LensShift: {x: 0, y: 0}
|
||||
FocusDistance: 10
|
||||
Iso: 200
|
||||
ShutterSpeed: 0.005
|
||||
Aperture: 16
|
||||
BladeCount: 5
|
||||
Curvature: {x: 2, y: 11}
|
||||
BarrelClipping: 0.25
|
||||
Anamorphism: 0
|
||||
BlendHint: 0
|
||||
--- !u!114 &6184765541825861383
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1699298839218166779}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 90eebaab98e4b44b0ba8c79821e554e1, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Unity.Cinemachine::Unity.Cinemachine.CinemachineSplineDolly
|
||||
m_SplineSettings:
|
||||
Spline: {fileID: 4900594939756415936}
|
||||
Position: 0
|
||||
Units: 0
|
||||
SplineOffset: {x: 0, y: 0, z: 0}
|
||||
CameraRotation: 0
|
||||
Damping:
|
||||
Enabled: 0
|
||||
Position: {x: 0, y: 0, z: 0}
|
||||
Angular: 0
|
||||
AutomaticDolly:
|
||||
Enabled: 0
|
||||
Method:
|
||||
rid: -2
|
||||
m_LegacyPosition: -1
|
||||
m_LegacyUnits: 0
|
||||
m_LegacySpline: {fileID: 0}
|
||||
references:
|
||||
version: 2
|
||||
RefIds:
|
||||
- rid: -2
|
||||
type: {class: , ns: , asm: }
|
||||
--- !u!114 &7747694789893425261
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1699298839218166779}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f38bda98361e1de48a4ca2bd86ea3c17, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Unity.Cinemachine::Unity.Cinemachine.CinemachineRotationComposer
|
||||
Composition:
|
||||
ScreenPosition: {x: 0, y: 0}
|
||||
DeadZone:
|
||||
Enabled: 0
|
||||
Size: {x: 0.2, y: 0.2}
|
||||
HardLimits:
|
||||
Enabled: 0
|
||||
Size: {x: 0.8, y: 0.8}
|
||||
Offset: {x: 0, y: 0}
|
||||
CenterOnActivate: 1
|
||||
TargetOffset: {x: 0, y: 0, z: 0}
|
||||
Damping: {x: 0.5, y: 0.5}
|
||||
Lookahead:
|
||||
Enabled: 0
|
||||
Time: 0
|
||||
Smoothing: 0
|
||||
IgnoreY: 0
|
||||
--- !u!1 &2102034327205085668
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -445,7 +585,7 @@ MonoBehaviour:
|
||||
m_SplineSettings:
|
||||
Spline: {fileID: 8692689237725241462}
|
||||
Position: 0
|
||||
Units: 1
|
||||
Units: 0
|
||||
SplineOffset: {x: 0, y: 0, z: 0}
|
||||
CameraRotation: 0
|
||||
Damping:
|
||||
@@ -493,6 +633,152 @@ MonoBehaviour:
|
||||
Time: 0
|
||||
Smoothing: 0
|
||||
IgnoreY: 0
|
||||
--- !u!1 &2681921440081048080
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4334807056718839526}
|
||||
- component: {fileID: 4900594939756415936}
|
||||
- component: {fileID: 7076488144175942871}
|
||||
m_Layer: 0
|
||||
m_Name: Death Dolly Spline
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4334807056718839526
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2681921440081048080}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0.49999997, z: -11}
|
||||
m_LocalScale: {x: 0.4115226, y: 0.24691355, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 6261725771962263685}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &4900594939756415936
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2681921440081048080}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: dab5c7d4c32e743048dfca98e2d5914f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Unity.Splines::UnityEngine.Splines.SplineContainer
|
||||
m_Spline:
|
||||
m_EditModeType: 1
|
||||
m_Knots: []
|
||||
m_MetaData: []
|
||||
m_Closed: 0
|
||||
m_IntData:
|
||||
m_Data: []
|
||||
m_FloatData:
|
||||
m_Data: []
|
||||
m_Float4Data:
|
||||
m_Data: []
|
||||
m_ObjectData:
|
||||
m_Data: []
|
||||
m_Splines:
|
||||
- m_EditModeType: 1
|
||||
m_Knots:
|
||||
- Position:
|
||||
x: 0
|
||||
y: 0
|
||||
z: 0
|
||||
TangentIn:
|
||||
x: 0
|
||||
y: 0
|
||||
z: 0
|
||||
TangentOut:
|
||||
x: 0
|
||||
y: 0
|
||||
z: 0
|
||||
Rotation:
|
||||
value:
|
||||
x: 0.0008891812
|
||||
y: -0.011103803
|
||||
z: 0.000025192196
|
||||
w: 0.999938
|
||||
- Position:
|
||||
x: -0.17
|
||||
y: -0.015000105
|
||||
z: 18.89
|
||||
TangentIn:
|
||||
x: 0
|
||||
y: 0
|
||||
z: 0
|
||||
TangentOut:
|
||||
x: 0
|
||||
y: 0
|
||||
z: 0
|
||||
Rotation:
|
||||
value:
|
||||
x: 0.0008894407
|
||||
y: -0.011103782
|
||||
z: 0.0000018435329
|
||||
w: 0.999938
|
||||
- Position:
|
||||
x: -0.25103
|
||||
y: -257.7437
|
||||
z: 9.09
|
||||
TangentIn:
|
||||
x: 0
|
||||
y: 0
|
||||
z: 0
|
||||
TangentOut:
|
||||
x: 0
|
||||
y: 0
|
||||
z: 0
|
||||
Rotation:
|
||||
value:
|
||||
x: 0.0008893516
|
||||
y: -0.011103789
|
||||
z: 0.0000098757855
|
||||
w: 0.99993795
|
||||
m_MetaData:
|
||||
- Mode: 1
|
||||
Tension: 0.5
|
||||
- Mode: 1
|
||||
Tension: 0.5
|
||||
- Mode: 1
|
||||
Tension: 0.5
|
||||
m_Closed: 0
|
||||
m_IntData:
|
||||
m_Data: []
|
||||
m_FloatData:
|
||||
m_Data: []
|
||||
m_Float4Data:
|
||||
m_Data: []
|
||||
m_ObjectData:
|
||||
m_Data: []
|
||||
m_Knots:
|
||||
m_KnotsLink: []
|
||||
--- !u!114 &7076488144175942871
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2681921440081048080}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c5342500578afb24a9b83d6343d32a0f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Unity.Cinemachine::Unity.Cinemachine.CinemachineSplineSmoother
|
||||
AutoSmooth: 0
|
||||
--- !u!1 &3755624549931742426
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -672,6 +958,8 @@ Transform:
|
||||
m_LocalScale: {x: 2.43, y: 4.05, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 7047078567482699607}
|
||||
- {fileID: 4334807056718839526}
|
||||
- {fileID: 3377228030092779522}
|
||||
- {fileID: 3219076263300095770}
|
||||
- {fileID: 7563422810526552726}
|
||||
@@ -723,8 +1011,8 @@ MonoBehaviour:
|
||||
isfocussed: 0
|
||||
doorCamera: {fileID: 1305966551938095645}
|
||||
doorSplineDolly: {fileID: 4016467311621144490}
|
||||
deathCamera: {fileID: 0}
|
||||
deathSplineDolly: {fileID: 0}
|
||||
deathCamera: {fileID: 18885969086235008}
|
||||
deathSplineDolly: {fileID: 6184765541825861383}
|
||||
--- !u!1 &5594795846395120415
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
+528
-4
@@ -499,6 +499,133 @@ Transform:
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &155228031
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 155228032}
|
||||
- component: {fileID: 155228036}
|
||||
- component: {fileID: 155228035}
|
||||
- component: {fileID: 155228034}
|
||||
- component: {fileID: 155228033}
|
||||
m_Layer: 0
|
||||
m_Name: Backwall (1)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &155228032
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 155228031}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068}
|
||||
m_LocalPosition: {x: -158.7, y: 21.5, z: -102}
|
||||
m_LocalScale: {x: 900, y: 900, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1082548083}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0}
|
||||
--- !u!114 &155228033
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 155228031}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8e702867e24946d529c85ca74996f6d7, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::TextureTiler
|
||||
textureWorldSize: 1
|
||||
surface: 2
|
||||
--- !u!65 &155228034
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 155228031}
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_LayerOverridePriority: 0
|
||||
m_IsTrigger: 0
|
||||
m_ProvidesContacts: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_Size: {x: 1, y: 1, z: 1}
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
--- !u!23 &155228035
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 155228031}
|
||||
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_RayTracingAccelStructBuildFlagsOverride: 0
|
||||
m_RayTracingAccelStructBuildFlags: 1
|
||||
m_SmallMeshCulling: 1
|
||||
m_ForceMeshLod: -1
|
||||
m_MeshLodSelectionBias: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: 510c3d329ceee7bab9e0d94a3d9acd77, 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_GlobalIlluminationMeshLod: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_MaskInteraction: 0
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!33 &155228036
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 155228031}
|
||||
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!1 &168153416
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -576,6 +703,133 @@ MonoBehaviour:
|
||||
m_ChildScaleWidth: 0
|
||||
m_ChildScaleHeight: 0
|
||||
m_ReverseArrangement: 0
|
||||
--- !u!1 &181004334
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 181004335}
|
||||
- component: {fileID: 181004339}
|
||||
- component: {fileID: 181004338}
|
||||
- component: {fileID: 181004337}
|
||||
- component: {fileID: 181004336}
|
||||
m_Layer: 0
|
||||
m_Name: Backwall (2)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &181004335
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 181004334}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 111, y: -82, z: -405}
|
||||
m_LocalScale: {x: 900, y: 900, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1082548083}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &181004336
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 181004334}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8e702867e24946d529c85ca74996f6d7, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::TextureTiler
|
||||
textureWorldSize: 1
|
||||
surface: 2
|
||||
--- !u!65 &181004337
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 181004334}
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_LayerOverridePriority: 0
|
||||
m_IsTrigger: 0
|
||||
m_ProvidesContacts: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_Size: {x: 1, y: 1, z: 1}
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
--- !u!23 &181004338
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 181004334}
|
||||
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_RayTracingAccelStructBuildFlagsOverride: 0
|
||||
m_RayTracingAccelStructBuildFlags: 1
|
||||
m_SmallMeshCulling: 1
|
||||
m_ForceMeshLod: -1
|
||||
m_MeshLodSelectionBias: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: 510c3d329ceee7bab9e0d94a3d9acd77, 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_GlobalIlluminationMeshLod: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_MaskInteraction: 0
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!33 &181004339
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 181004334}
|
||||
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!1 &211603624
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -1913,6 +2167,146 @@ CanvasRenderer:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 494747085}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!1 &517311409
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 517311413}
|
||||
- component: {fileID: 517311412}
|
||||
- component: {fileID: 517311411}
|
||||
- component: {fileID: 517311410}
|
||||
m_Layer: 0
|
||||
m_Name: IntroCam
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &517311410
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 517311409}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f38bda98361e1de48a4ca2bd86ea3c17, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Unity.Cinemachine::Unity.Cinemachine.CinemachineRotationComposer
|
||||
Composition:
|
||||
ScreenPosition: {x: 0, y: 0}
|
||||
DeadZone:
|
||||
Enabled: 0
|
||||
Size: {x: 0.2, y: 0.2}
|
||||
HardLimits:
|
||||
Enabled: 0
|
||||
Size: {x: 0.8, y: 0.8}
|
||||
Offset: {x: 0, y: 0}
|
||||
CenterOnActivate: 1
|
||||
TargetOffset: {x: 0, y: 0, z: 0}
|
||||
Damping: {x: 0.5, y: 0.5}
|
||||
Lookahead:
|
||||
Enabled: 0
|
||||
Time: 0
|
||||
Smoothing: 0
|
||||
IgnoreY: 0
|
||||
--- !u!114 &517311411
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 517311409}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 90eebaab98e4b44b0ba8c79821e554e1, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Unity.Cinemachine::Unity.Cinemachine.CinemachineSplineDolly
|
||||
m_SplineSettings:
|
||||
Spline: {fileID: 1259864386}
|
||||
Position: 0
|
||||
Units: 1
|
||||
SplineOffset: {x: 0, y: 0, z: 0}
|
||||
CameraRotation: 0
|
||||
Damping:
|
||||
Enabled: 0
|
||||
Position: {x: 0, y: 0, z: 0}
|
||||
Angular: 0
|
||||
AutomaticDolly:
|
||||
Enabled: 0
|
||||
Method:
|
||||
rid: -2
|
||||
m_LegacyPosition: -1
|
||||
m_LegacyUnits: 0
|
||||
m_LegacySpline: {fileID: 0}
|
||||
references:
|
||||
version: 2
|
||||
RefIds:
|
||||
- rid: -2
|
||||
type: {class: , ns: , asm: }
|
||||
--- !u!114 &517311412
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 517311409}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f9dfa5b682dcd46bda6128250e975f58, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Unity.Cinemachine::Unity.Cinemachine.CinemachineCamera
|
||||
Priority:
|
||||
Enabled: 0
|
||||
m_Value: 0
|
||||
OutputChannel: 1
|
||||
StandbyUpdate: 2
|
||||
m_StreamingVersion: 20241001
|
||||
m_LegacyPriority: 0
|
||||
Target:
|
||||
TrackingTarget: {fileID: 0}
|
||||
LookAtTarget: {fileID: 0}
|
||||
CustomLookAtTarget: 0
|
||||
Lens:
|
||||
FieldOfView: 60.000004
|
||||
OrthographicSize: 5
|
||||
NearClipPlane: 0.3
|
||||
FarClipPlane: 1000
|
||||
Dutch: 0
|
||||
ModeOverride: 0
|
||||
PhysicalProperties:
|
||||
GateFit: 2
|
||||
SensorSize: {x: 21.946, y: 16.002}
|
||||
LensShift: {x: 0, y: 0}
|
||||
FocusDistance: 10
|
||||
Iso: 200
|
||||
ShutterSpeed: 0.005
|
||||
Aperture: 16
|
||||
BladeCount: 5
|
||||
Curvature: {x: 2, y: 11}
|
||||
BarrelClipping: 0.25
|
||||
Anamorphism: 0
|
||||
BlendHint: 0
|
||||
--- !u!4 &517311413
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 517311409}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0.8808908, z: 0, w: -0.4733196}
|
||||
m_LocalPosition: {x: 43.62, y: 5, z: -52.07}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: -123.5, z: 0}
|
||||
--- !u!1 &537607015
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -3929,6 +4323,8 @@ Transform:
|
||||
m_Children:
|
||||
- {fileID: 32508550}
|
||||
- {fileID: 920484213}
|
||||
- {fileID: 155228032}
|
||||
- {fileID: 181004335}
|
||||
- {fileID: 1384402513}
|
||||
- {fileID: 296011718}
|
||||
m_Father: {fileID: 0}
|
||||
@@ -4167,6 +4563,132 @@ RectTransform:
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: -20, y: -20}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!1 &1259864384
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1259864387}
|
||||
- component: {fileID: 1259864386}
|
||||
- component: {fileID: 1259864385}
|
||||
m_Layer: 0
|
||||
m_Name: Dolly Spline
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &1259864385
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1259864384}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c5342500578afb24a9b83d6343d32a0f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Unity.Cinemachine::Unity.Cinemachine.CinemachineSplineSmoother
|
||||
AutoSmooth: 1
|
||||
--- !u!114 &1259864386
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1259864384}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: dab5c7d4c32e743048dfca98e2d5914f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Unity.Splines::UnityEngine.Splines.SplineContainer
|
||||
m_Spline:
|
||||
m_EditModeType: 1
|
||||
m_Knots: []
|
||||
m_MetaData: []
|
||||
m_Closed: 0
|
||||
m_IntData:
|
||||
m_Data: []
|
||||
m_FloatData:
|
||||
m_Data: []
|
||||
m_Float4Data:
|
||||
m_Data: []
|
||||
m_ObjectData:
|
||||
m_Data: []
|
||||
m_Splines:
|
||||
- m_EditModeType: 1
|
||||
m_Knots:
|
||||
- Position:
|
||||
x: 18.619999
|
||||
y: 0
|
||||
z: -0.069999695
|
||||
TangentIn:
|
||||
x: 0
|
||||
y: 0
|
||||
z: -2.820095
|
||||
TangentOut:
|
||||
x: 0
|
||||
y: 0
|
||||
z: 12.941999
|
||||
Rotation:
|
||||
value:
|
||||
x: 0.024015132
|
||||
y: 0.70478296
|
||||
z: 0.11815383
|
||||
w: -0.6991022
|
||||
- Position:
|
||||
x: 0.7800007
|
||||
y: 0.65999985
|
||||
z: 21.761
|
||||
TangentIn:
|
||||
x: 0
|
||||
y: 0
|
||||
z: 0
|
||||
TangentOut:
|
||||
x: 0
|
||||
y: 0
|
||||
z: 0
|
||||
Rotation:
|
||||
value:
|
||||
x: -0.19298117
|
||||
y: 0.25777513
|
||||
z: 0.0526258
|
||||
w: 0.94527286
|
||||
m_MetaData:
|
||||
- Mode: 3
|
||||
Tension: 0.5
|
||||
- Mode: 1
|
||||
Tension: 0.5
|
||||
m_Closed: 0
|
||||
m_IntData:
|
||||
m_Data: []
|
||||
m_FloatData:
|
||||
m_Data: []
|
||||
m_Float4Data:
|
||||
m_Data: []
|
||||
m_ObjectData:
|
||||
m_Data: []
|
||||
m_Knots:
|
||||
m_KnotsLink: []
|
||||
--- !u!4 &1259864387
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1259864384}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 25, y: 5, z: -52}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1261465021
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -5939,10 +6461,10 @@ MonoBehaviour:
|
||||
explorationCamera: {fileID: 17649578}
|
||||
activePriority: 20
|
||||
inactivePriority: 10
|
||||
introCamera: {fileID: 0}
|
||||
introSplineDolly: {fileID: 0}
|
||||
introHoldTime: 2
|
||||
blendDuration: 2
|
||||
introCamera: {fileID: 517311412}
|
||||
introSplineDolly: {fileID: 517311411}
|
||||
introHoldTime: 0.1
|
||||
blendDuration: 0.1
|
||||
mainUnityCamera: {fileID: 330585545}
|
||||
interactableLayer:
|
||||
serializedVersion: 2
|
||||
@@ -11950,3 +12472,5 @@ SceneRoots:
|
||||
- {fileID: 1743187106}
|
||||
- {fileID: 621543619}
|
||||
- {fileID: 211603628}
|
||||
- {fileID: 517311413}
|
||||
- {fileID: 1259864387}
|
||||
|
||||
+277
-271
@@ -3,123 +3,119 @@ using Unity.Cinemachine;
|
||||
using UnityEngine.InputSystem;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.EventSystems;
|
||||
using System.Collections;
|
||||
using System.Collections;
|
||||
|
||||
public class CameraController : MonoBehaviour
|
||||
{
|
||||
[Header("Cinemachine 3 Setup")]
|
||||
public CinemachineCamera focusCameraA;
|
||||
public CinemachineCamera focusCameraB;
|
||||
public CinemachineCamera explorationCamera;
|
||||
|
||||
public int activePriority = 20;
|
||||
public int inactivePriority = 10;
|
||||
[Header("Cinemachine 3 Setup")] public CinemachineCamera focusCameraA;
|
||||
public CinemachineCamera focusCameraB;
|
||||
public CinemachineCamera explorationCamera;
|
||||
|
||||
public int activePriority = 20;
|
||||
public int inactivePriority = 10;
|
||||
|
||||
[Header("Intro Sequence Setup")] [Tooltip("The camera placed high up to show the whole room.")]
|
||||
public CinemachineCamera introCamera;
|
||||
|
||||
[Header("Intro Sequence Setup")]
|
||||
[Tooltip("The camera placed high up to show the whole room.")]
|
||||
public CinemachineCamera introCamera;
|
||||
public CinemachineSplineDolly introSplineDolly;
|
||||
|
||||
public float introHoldTime = 2f;
|
||||
[Tooltip("How long the Cinemachine blend takes to sweep down to the player.")]
|
||||
public float blendDuration = 2f;
|
||||
|
||||
[Header("Raycast Setup")]
|
||||
public Camera mainUnityCamera;
|
||||
public LayerMask interactableLayer;
|
||||
public float introHoldTime = 2f;
|
||||
|
||||
[Header("UI Setup")]
|
||||
public Button talkButton;
|
||||
public Button doorButton;
|
||||
private GuardManager currentGuardManager;
|
||||
private DoorManager currentDoorManager;
|
||||
[Tooltip("How long the Cinemachine blend takes to sweep down to the player.")]
|
||||
public float blendDuration = 2f;
|
||||
|
||||
[Header("Hover Highlight Settings")]
|
||||
public Color highlightColour = Color.yellow;
|
||||
private Renderer currentlyHoveredRenderer;
|
||||
private Color originalColour;
|
||||
[Header("Raycast Setup")] public Camera mainUnityCamera;
|
||||
public LayerMask interactableLayer;
|
||||
|
||||
[Header("Exploration Nudge Settings")]
|
||||
public float nudgeSpeed = 15f;
|
||||
public float maxNudgeAngle = 8f;
|
||||
public float edgeThickness = 50f;
|
||||
[Header("UI Setup")] public Button talkButton;
|
||||
public Button doorButton;
|
||||
private GuardManager currentGuardManager;
|
||||
private DoorManager currentDoorManager;
|
||||
|
||||
[Header("Focus Nudge Settings")]
|
||||
public float focusNudgeSpeed = 5f;
|
||||
public float maxFocusOffset = 2f;
|
||||
[Header("Hover Highlight Settings")] public Color highlightColour = Color.yellow;
|
||||
private Renderer currentlyHoveredRenderer;
|
||||
private Color originalColour;
|
||||
|
||||
private Quaternion startingRotation;
|
||||
private float currentYaw = 0f;
|
||||
[Header("Exploration Nudge Settings")] public float nudgeSpeed = 15f;
|
||||
public float maxNudgeAngle = 8f;
|
||||
public float edgeThickness = 50f;
|
||||
|
||||
private bool useCameraA = true;
|
||||
private Transform dynamicFocusTargetA;
|
||||
private Transform dynamicFocusTargetB;
|
||||
private Transform activeDynamicTarget;
|
||||
private Transform currentInteractableTransform;
|
||||
|
||||
private float currentFocusOffsetX = 0f;
|
||||
private bool isSequencePlaying = false;
|
||||
[Header("Focus Nudge Settings")] public float focusNudgeSpeed = 5f;
|
||||
public float maxFocusOffset = 2f;
|
||||
|
||||
void Start()
|
||||
{
|
||||
if (explorationCamera != null)
|
||||
{
|
||||
startingRotation = explorationCamera.transform.rotation;
|
||||
}
|
||||
private Quaternion startingRotation;
|
||||
private float currentYaw = 0f;
|
||||
|
||||
dynamicFocusTargetA = new GameObject("DynamicFocusTarget_A").transform;
|
||||
dynamicFocusTargetB = new GameObject("DynamicFocusTarget_B").transform;
|
||||
private bool useCameraA = true;
|
||||
private Transform dynamicFocusTargetA;
|
||||
private Transform dynamicFocusTargetB;
|
||||
private Transform activeDynamicTarget;
|
||||
private Transform currentInteractableTransform;
|
||||
|
||||
if (talkButton != null)
|
||||
{
|
||||
talkButton.gameObject.SetActive(false);
|
||||
talkButton.onClick.AddListener(OnTalkButtonClicked);
|
||||
}
|
||||
private float currentFocusOffsetX = 0f;
|
||||
private bool isSequencePlaying = false;
|
||||
|
||||
if (doorButton != null)
|
||||
{
|
||||
doorButton.gameObject.SetActive(false);
|
||||
doorButton.onClick.AddListener(OnDoorButtonClicked);
|
||||
}
|
||||
void Start()
|
||||
{
|
||||
if (explorationCamera != null)
|
||||
{
|
||||
startingRotation = explorationCamera.transform.rotation;
|
||||
}
|
||||
|
||||
// Play the intro sweep straight away when the game first loads!
|
||||
if (introCamera != null)
|
||||
{
|
||||
StartCoroutine(IntroSequenceRoutine());
|
||||
}
|
||||
}
|
||||
dynamicFocusTargetA = new GameObject("DynamicFocusTarget_A").transform;
|
||||
dynamicFocusTargetB = new GameObject("DynamicFocusTarget_B").transform;
|
||||
|
||||
void Update()
|
||||
{
|
||||
// Allow the Escape key to skip intro sequences or drop interactions at any time
|
||||
if (Keyboard.current != null && Keyboard.current.escapeKey.wasPressedThisFrame)
|
||||
{
|
||||
StopAllCoroutines();
|
||||
isSequencePlaying = false;
|
||||
ResetCameraPositions();
|
||||
}
|
||||
if (talkButton != null)
|
||||
{
|
||||
talkButton.gameObject.SetActive(false);
|
||||
talkButton.onClick.AddListener(OnTalkButtonClicked);
|
||||
}
|
||||
|
||||
if (Mouse.current == null || isSequencePlaying) return;
|
||||
if (doorButton != null)
|
||||
{
|
||||
doorButton.gameObject.SetActive(false);
|
||||
doorButton.onClick.AddListener(OnDoorButtonClicked);
|
||||
}
|
||||
|
||||
HandleHover();
|
||||
HandleEdgeNudge();
|
||||
// Play the intro sweep straight away when the game first loads!
|
||||
if (introCamera != null)
|
||||
{
|
||||
StartCoroutine(IntroSequenceRoutine());
|
||||
}
|
||||
}
|
||||
|
||||
if (Mouse.current.leftButton.wasPressedThisFrame)
|
||||
{
|
||||
if (EventSystem.current != null && EventSystem.current.IsPointerOverGameObject())
|
||||
{
|
||||
return;
|
||||
}
|
||||
HandleInteractionClick();
|
||||
}
|
||||
|
||||
if (Mouse.current.rightButton.wasPressedThisFrame)
|
||||
{
|
||||
ReturnToMainCamera();
|
||||
}
|
||||
}
|
||||
void Update()
|
||||
{
|
||||
// Allow the Escape key to skip intro sequences or drop interactions at any time
|
||||
if (Keyboard.current != null && Keyboard.current.escapeKey.wasPressedThisFrame)
|
||||
{
|
||||
StopAllCoroutines();
|
||||
isSequencePlaying = false;
|
||||
ResetCameraPositions();
|
||||
}
|
||||
|
||||
private IEnumerator IntroSequenceRoutine()
|
||||
if (Mouse.current == null || isSequencePlaying) return;
|
||||
|
||||
HandleHover();
|
||||
HandleEdgeNudge();
|
||||
|
||||
if (Mouse.current.leftButton.wasPressedThisFrame)
|
||||
{
|
||||
if (EventSystem.current != null && EventSystem.current.IsPointerOverGameObject())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
HandleInteractionClick();
|
||||
}
|
||||
|
||||
if (Mouse.current.rightButton.wasPressedThisFrame)
|
||||
{
|
||||
ReturnToMainCamera();
|
||||
}
|
||||
}
|
||||
|
||||
private IEnumerator IntroSequenceRoutine()
|
||||
{
|
||||
// If you haven't assigned an intro camera yet, just skip this
|
||||
if (introCamera == null) yield break;
|
||||
@@ -127,7 +123,7 @@ public class CameraController : MonoBehaviour
|
||||
// Lock controls
|
||||
isSequencePlaying = true;
|
||||
RemoveHighlight();
|
||||
|
||||
|
||||
// If we have a track, reset the camera to the very start of it
|
||||
if (introSplineDolly != null)
|
||||
{
|
||||
@@ -148,7 +144,7 @@ public class CameraController : MonoBehaviour
|
||||
introSplineDolly.CameraPosition = Mathf.Lerp(0f, 1f, elapsedTime / introHoldTime);
|
||||
yield return null;
|
||||
}
|
||||
|
||||
|
||||
// Make sure it snaps perfectly to the end (1.0)
|
||||
introSplineDolly.CameraPosition = 1f;
|
||||
}
|
||||
@@ -168,7 +164,7 @@ public class CameraController : MonoBehaviour
|
||||
isSequencePlaying = false;
|
||||
}
|
||||
|
||||
private IEnumerator DoorSequenceRoutine(DoorManager activeDoor)
|
||||
private IEnumerator DoorSequenceRoutine(DoorManager activeDoor)
|
||||
{
|
||||
isSequencePlaying = true;
|
||||
RemoveHighlight();
|
||||
@@ -176,34 +172,40 @@ public class CameraController : MonoBehaviour
|
||||
// 1. TRIPWIRE: Check if the slots are empty!
|
||||
if (activeDoor.type == "DEATH")
|
||||
{
|
||||
if (activeDoor.deathCamera == null) Debug.LogError("🚨 ERROR: This is a DEATH door, but the Death Camera slot is empty in the Prefab Inspector!");
|
||||
if (activeDoor.deathSplineDolly == null) Debug.LogError("🚨 ERROR: This is a DEATH door, but the Death Spline Dolly slot is empty in the Prefab Inspector!");
|
||||
if (activeDoor.deathCamera == null)
|
||||
Debug.LogError(
|
||||
"🚨 ERROR: This is a DEATH door, but the Death Camera slot is empty in the Prefab Inspector!");
|
||||
if (activeDoor.deathSplineDolly == null)
|
||||
Debug.LogError(
|
||||
"🚨 ERROR: This is a DEATH door, but the Death Spline Dolly slot is empty in the Prefab Inspector!");
|
||||
}
|
||||
|
||||
|
||||
// 2. Determine which camera to use
|
||||
bool isDeathDoor = activeDoor.type == "DEATH" && activeDoor.deathCamera != null && activeDoor.deathSplineDolly != null;
|
||||
|
||||
bool isDeathDoor = activeDoor.type == "DEATH" && activeDoor.deathCamera != null &&
|
||||
activeDoor.deathSplineDolly != null;
|
||||
|
||||
CinemachineCamera activeCam = isDeathDoor ? activeDoor.deathCamera : activeDoor.doorCamera;
|
||||
CinemachineSplineDolly activeDolly = isDeathDoor ? activeDoor.deathSplineDolly : activeDoor.doorSplineDolly;
|
||||
|
||||
// 3. TRIPWIRE: Tell us which camera was actually chosen
|
||||
Debug.Log($"🎯 Door clicked! Type is: '{activeDoor.type}'. Script is using track: '{activeCam.gameObject.name}'");
|
||||
Debug.Log(
|
||||
$"🎯 Door clicked! Type is: '{activeDoor.type}'. Script is using track: '{activeCam.gameObject.name}'");
|
||||
|
||||
activeDolly.CameraPosition = 0f;
|
||||
activeCam.Priority = 30;
|
||||
|
||||
yield return new WaitForSeconds(0.5f);
|
||||
yield return new WaitForSeconds(1f);
|
||||
|
||||
// --- DISTANCE MOVEMENT FIX ---
|
||||
// Using real metres now! 5f means 5 metres per second. Adjust this if it falls too slowly!
|
||||
float pushSpeed = 5f;
|
||||
float pushSpeed = 5f;
|
||||
float previousPosition = -1f;
|
||||
|
||||
|
||||
while (activeDoor != null && activeDolly != null && activeDolly.CameraPosition > previousPosition)
|
||||
{
|
||||
previousPosition = activeDolly.CameraPosition;
|
||||
activeDolly.CameraPosition += pushSpeed * Time.deltaTime;
|
||||
yield return null;
|
||||
yield return null;
|
||||
}
|
||||
// ------------------------------
|
||||
|
||||
@@ -222,10 +224,10 @@ public class CameraController : MonoBehaviour
|
||||
else if (doorType == "DEATH")
|
||||
{
|
||||
Debug.Log("Wrong door! Player died.");
|
||||
|
||||
|
||||
// We intentionally DO NOT drop the priority here.
|
||||
// The camera stays locked at Priority 30, trapping the player's view at the bottom of the pit!
|
||||
isSequencePlaying = false;
|
||||
isSequencePlaying = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -236,184 +238,188 @@ public class CameraController : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
private void HandleEdgeNudge()
|
||||
{
|
||||
Vector2 mousePos = Mouse.current.position.ReadValue();
|
||||
float yawInput = 0f;
|
||||
private void HandleEdgeNudge()
|
||||
{
|
||||
Vector2 mousePos = Mouse.current.position.ReadValue();
|
||||
float yawInput = 0f;
|
||||
|
||||
if (mousePos.x < edgeThickness) yawInput = -1f;
|
||||
else if (mousePos.x > Screen.width - edgeThickness) yawInput = 1f;
|
||||
if (mousePos.x < edgeThickness) yawInput = -1f;
|
||||
else if (mousePos.x > Screen.width - edgeThickness) yawInput = 1f;
|
||||
|
||||
bool isFocused = focusCameraA.Priority >= activePriority || focusCameraB.Priority >= activePriority;
|
||||
bool isFocused = focusCameraA.Priority >= activePriority || focusCameraB.Priority >= activePriority;
|
||||
|
||||
if (yawInput != 0f)
|
||||
{
|
||||
if (isFocused && currentInteractableTransform != null && activeDynamicTarget != null)
|
||||
{
|
||||
currentFocusOffsetX += yawInput * focusNudgeSpeed * Time.deltaTime;
|
||||
currentFocusOffsetX = Mathf.Clamp(currentFocusOffsetX, -maxFocusOffset, maxFocusOffset);
|
||||
if (yawInput != 0f)
|
||||
{
|
||||
if (isFocused && currentInteractableTransform != null && activeDynamicTarget != null)
|
||||
{
|
||||
currentFocusOffsetX += yawInput * focusNudgeSpeed * Time.deltaTime;
|
||||
currentFocusOffsetX = Mathf.Clamp(currentFocusOffsetX, -maxFocusOffset, maxFocusOffset);
|
||||
|
||||
activeDynamicTarget.position = currentInteractableTransform.position
|
||||
+ (mainUnityCamera.transform.right * currentFocusOffsetX);
|
||||
}
|
||||
else if (!isFocused && explorationCamera != null)
|
||||
{
|
||||
currentYaw += yawInput * nudgeSpeed * Time.deltaTime;
|
||||
currentYaw = Mathf.Clamp(currentYaw, -maxNudgeAngle, maxNudgeAngle);
|
||||
|
||||
Quaternion yawRotation = Quaternion.AngleAxis(currentYaw, Vector3.up);
|
||||
explorationCamera.transform.rotation = startingRotation * yawRotation;
|
||||
}
|
||||
}
|
||||
}
|
||||
activeDynamicTarget.position = currentInteractableTransform.position
|
||||
+ (mainUnityCamera.transform.right * currentFocusOffsetX);
|
||||
}
|
||||
else if (!isFocused && explorationCamera != null)
|
||||
{
|
||||
currentYaw += yawInput * nudgeSpeed * Time.deltaTime;
|
||||
currentYaw = Mathf.Clamp(currentYaw, -maxNudgeAngle, maxNudgeAngle);
|
||||
|
||||
private void HandleHover()
|
||||
{
|
||||
Vector2 mousePos = Mouse.current.position.ReadValue();
|
||||
Ray ray = mainUnityCamera.ScreenPointToRay(mousePos);
|
||||
|
||||
if (Physics.Raycast(ray, out RaycastHit hit, 100f, interactableLayer))
|
||||
{
|
||||
Renderer hitRenderer = hit.transform.GetComponentInChildren<Renderer>();
|
||||
|
||||
if (hitRenderer != null && hitRenderer != currentlyHoveredRenderer)
|
||||
{
|
||||
RemoveHighlight();
|
||||
currentlyHoveredRenderer = hitRenderer;
|
||||
Quaternion yawRotation = Quaternion.AngleAxis(currentYaw, Vector3.up);
|
||||
explorationCamera.transform.rotation = startingRotation * yawRotation;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (currentlyHoveredRenderer is SpriteRenderer sprite)
|
||||
{
|
||||
originalColour = sprite.color;
|
||||
sprite.color = highlightColour;
|
||||
}
|
||||
else
|
||||
{
|
||||
originalColour = currentlyHoveredRenderer.material.color;
|
||||
currentlyHoveredRenderer.material.color = highlightColour;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
RemoveHighlight();
|
||||
}
|
||||
}
|
||||
private void HandleHover()
|
||||
{
|
||||
Vector2 mousePos = Mouse.current.position.ReadValue();
|
||||
Ray ray = mainUnityCamera.ScreenPointToRay(mousePos);
|
||||
|
||||
private void RemoveHighlight()
|
||||
{
|
||||
if (currentlyHoveredRenderer != null)
|
||||
{
|
||||
if (currentlyHoveredRenderer is SpriteRenderer sprite)
|
||||
{
|
||||
sprite.color = originalColour;
|
||||
}
|
||||
else
|
||||
{
|
||||
currentlyHoveredRenderer.material.color = originalColour;
|
||||
}
|
||||
currentlyHoveredRenderer = null;
|
||||
}
|
||||
}
|
||||
if (Physics.Raycast(ray, out RaycastHit hit, 100f, interactableLayer))
|
||||
{
|
||||
Renderer hitRenderer = hit.transform.GetComponentInChildren<Renderer>();
|
||||
|
||||
private void HandleInteractionClick()
|
||||
{
|
||||
Vector2 mousePos = Mouse.current.position.ReadValue();
|
||||
Ray ray = mainUnityCamera.ScreenPointToRay(mousePos);
|
||||
|
||||
if (Physics.Raycast(ray, out RaycastHit hit, 100f, interactableLayer))
|
||||
{
|
||||
currentInteractableTransform = hit.transform;
|
||||
currentFocusOffsetX = 0f;
|
||||
|
||||
CinemachineCamera nextCam = useCameraA ? focusCameraA : focusCameraB;
|
||||
CinemachineCamera oldCam = useCameraA ? focusCameraB : focusCameraA;
|
||||
Transform nextTarget = useCameraA ? dynamicFocusTargetA : dynamicFocusTargetB;
|
||||
|
||||
nextTarget.position = currentInteractableTransform.position;
|
||||
nextCam.Follow = currentInteractableTransform;
|
||||
nextCam.LookAt = nextTarget;
|
||||
|
||||
nextCam.Priority = activePriority;
|
||||
oldCam.Priority = inactivePriority;
|
||||
|
||||
activeDynamicTarget = nextTarget;
|
||||
useCameraA = !useCameraA;
|
||||
if (hitRenderer != null && hitRenderer != currentlyHoveredRenderer)
|
||||
{
|
||||
RemoveHighlight();
|
||||
currentlyHoveredRenderer = hitRenderer;
|
||||
|
||||
GuardManager guard = hit.transform.GetComponent<GuardManager>();
|
||||
DoorManager door = hit.transform.GetComponent<DoorManager>();
|
||||
if (currentlyHoveredRenderer is SpriteRenderer sprite)
|
||||
{
|
||||
originalColour = sprite.color;
|
||||
sprite.color = highlightColour;
|
||||
}
|
||||
else
|
||||
{
|
||||
originalColour = currentlyHoveredRenderer.material.color;
|
||||
currentlyHoveredRenderer.material.color = highlightColour;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
RemoveHighlight();
|
||||
}
|
||||
}
|
||||
|
||||
if (talkButton != null) talkButton.gameObject.SetActive(false);
|
||||
if (doorButton != null) doorButton.gameObject.SetActive(false);
|
||||
private void RemoveHighlight()
|
||||
{
|
||||
if (currentlyHoveredRenderer != null)
|
||||
{
|
||||
if (currentlyHoveredRenderer is SpriteRenderer sprite)
|
||||
{
|
||||
sprite.color = originalColour;
|
||||
}
|
||||
else
|
||||
{
|
||||
currentlyHoveredRenderer.material.color = originalColour;
|
||||
}
|
||||
|
||||
if (guard != null)
|
||||
{
|
||||
currentlyHoveredRenderer = null;
|
||||
}
|
||||
}
|
||||
|
||||
private void HandleInteractionClick()
|
||||
{
|
||||
Vector2 mousePos = Mouse.current.position.ReadValue();
|
||||
Ray ray = mainUnityCamera.ScreenPointToRay(mousePos);
|
||||
|
||||
if (Physics.Raycast(ray, out RaycastHit hit, 100f, interactableLayer))
|
||||
{
|
||||
currentInteractableTransform = hit.transform;
|
||||
currentFocusOffsetX = 0f;
|
||||
|
||||
CinemachineCamera nextCam = useCameraA ? focusCameraA : focusCameraB;
|
||||
CinemachineCamera oldCam = useCameraA ? focusCameraB : focusCameraA;
|
||||
Transform nextTarget = useCameraA ? dynamicFocusTargetA : dynamicFocusTargetB;
|
||||
|
||||
nextTarget.position = currentInteractableTransform.position;
|
||||
nextCam.Follow = currentInteractableTransform;
|
||||
nextCam.LookAt = nextTarget;
|
||||
|
||||
nextCam.Priority = activePriority;
|
||||
oldCam.Priority = inactivePriority;
|
||||
|
||||
activeDynamicTarget = nextTarget;
|
||||
useCameraA = !useCameraA;
|
||||
|
||||
GuardManager guard = hit.transform.GetComponent<GuardManager>();
|
||||
DoorManager door = hit.transform.GetComponent<DoorManager>();
|
||||
|
||||
if (talkButton != null) talkButton.gameObject.SetActive(false);
|
||||
if (doorButton != null) doorButton.gameObject.SetActive(false);
|
||||
|
||||
if (guard != null)
|
||||
{
|
||||
TutorialManager.Instance.LogAction("TAP");
|
||||
currentGuardManager = guard;
|
||||
if (talkButton != null) talkButton.gameObject.SetActive(true);
|
||||
}
|
||||
else if (door != null)
|
||||
{
|
||||
currentGuardManager = guard;
|
||||
if (talkButton != null) talkButton.gameObject.SetActive(true);
|
||||
}
|
||||
else if (door != null)
|
||||
{
|
||||
TutorialManager.Instance.LogAction("TAP");
|
||||
currentDoorManager = door;
|
||||
if (doorButton != null) doorButton.gameObject.SetActive(true);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ReturnToMainCamera();
|
||||
}
|
||||
}
|
||||
currentDoorManager = door;
|
||||
if (doorButton != null) doorButton.gameObject.SetActive(true);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ReturnToMainCamera();
|
||||
}
|
||||
}
|
||||
|
||||
private void OnTalkButtonClicked()
|
||||
{
|
||||
if (currentGuardManager != null)
|
||||
{
|
||||
DialogManager.Instance.StartDialog(currentGuardManager);
|
||||
talkButton.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
private void OnTalkButtonClicked()
|
||||
{
|
||||
if (currentGuardManager != null)
|
||||
{
|
||||
DialogManager.Instance.StartDialog(currentGuardManager);
|
||||
talkButton.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
private void OnDoorButtonClicked()
|
||||
{
|
||||
if (currentDoorManager != null && currentDoorManager.doorCamera != null && currentDoorManager.doorSplineDolly != null)
|
||||
{
|
||||
doorButton.gameObject.SetActive(false);
|
||||
StartCoroutine(DoorSequenceRoutine(currentDoorManager));
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError("The DoorManager is missing its Camera or Spline Dolly references!");
|
||||
}
|
||||
}
|
||||
private void OnDoorButtonClicked()
|
||||
{
|
||||
if (currentDoorManager != null && currentDoorManager.doorCamera != null &&
|
||||
currentDoorManager.doorSplineDolly != null)
|
||||
{
|
||||
doorButton.gameObject.SetActive(false);
|
||||
StartCoroutine(DoorSequenceRoutine(currentDoorManager));
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError("The DoorManager is missing its Camera or Spline Dolly references!");
|
||||
}
|
||||
}
|
||||
|
||||
private void ReturnToMainCamera()
|
||||
{
|
||||
focusCameraA.Priority = inactivePriority;
|
||||
focusCameraB.Priority = inactivePriority;
|
||||
if (introCamera != null) introCamera.Priority = inactivePriority;
|
||||
|
||||
focusCameraA.Follow = null; focusCameraA.LookAt = null;
|
||||
focusCameraB.Follow = null; focusCameraB.LookAt = null;
|
||||
|
||||
currentInteractableTransform = null;
|
||||
activeDynamicTarget = null;
|
||||
currentGuardManager = null;
|
||||
currentDoorManager = null;
|
||||
private void ReturnToMainCamera()
|
||||
{
|
||||
focusCameraA.Priority = inactivePriority;
|
||||
focusCameraB.Priority = inactivePriority;
|
||||
if (introCamera != null) introCamera.Priority = inactivePriority;
|
||||
|
||||
if (talkButton != null) talkButton.gameObject.SetActive(false);
|
||||
if (doorButton != null) doorButton.gameObject.SetActive(false);
|
||||
}
|
||||
focusCameraA.Follow = null;
|
||||
focusCameraA.LookAt = null;
|
||||
focusCameraB.Follow = null;
|
||||
focusCameraB.LookAt = null;
|
||||
|
||||
private void ResetCameraPositions()
|
||||
{
|
||||
ReturnToMainCamera();
|
||||
currentInteractableTransform = null;
|
||||
activeDynamicTarget = null;
|
||||
currentGuardManager = null;
|
||||
currentDoorManager = null;
|
||||
|
||||
currentFocusOffsetX = 0f;
|
||||
currentYaw = 0f;
|
||||
|
||||
if (explorationCamera != null)
|
||||
{
|
||||
explorationCamera.transform.rotation = startingRotation;
|
||||
}
|
||||
}
|
||||
if (talkButton != null) talkButton.gameObject.SetActive(false);
|
||||
if (doorButton != null) doorButton.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
private void ResetCameraPositions()
|
||||
{
|
||||
ReturnToMainCamera();
|
||||
|
||||
currentFocusOffsetX = 0f;
|
||||
currentYaw = 0f;
|
||||
|
||||
if (explorationCamera != null)
|
||||
{
|
||||
explorationCamera.transform.rotation = startingRotation;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -139,7 +139,7 @@ public class LevelLoader : Singleton<LevelLoader>
|
||||
|
||||
IEnumerator DoSomethingAfterOneSecond()
|
||||
{
|
||||
yield return new WaitForSeconds(0.1f);
|
||||
yield return new WaitForSeconds(1.5f);
|
||||
|
||||
var responder = "GUARD";
|
||||
if (introchar != null)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using Utils;
|
||||
@@ -37,6 +38,13 @@ public class TutorialManager : Singleton<TutorialManager>
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
StartCoroutine(DoSomethingAfterOneSecond());
|
||||
}
|
||||
|
||||
IEnumerator DoSomethingAfterOneSecond()
|
||||
{
|
||||
yield return new WaitForSeconds(1.5f);
|
||||
var tutorial = LevelLoader.Instance.GlobalModifier == "TUT1" ? tutorialOne : tutorialTwo;
|
||||
tutorial[index].value.SetActive(true);
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,130 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0f47d6e86d29d3811ada5b876bb74b98
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,130 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4845b9c63e0d4c89fbcbbcd4b7718876
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Binary file not shown.
@@ -0,0 +1,130 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a705101d171ccff65b6a2cf793556d85
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,130 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9dc5f838092f1fa05bc0a606c12effa8
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user