organize project
This commit is contained in:
parent
d0b744d162
commit
1a332897bf
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 8119b8473df143cbb69a18ae2aa430c4
|
|
||||||
timeCreated: 1779787550
|
|
||||||
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 78ca007dda30545739e1fce83a853093
|
guid: 3fe33c5d9e3b94e37b5a7ef0785ddd6d
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
|
|||||||
@ -48,7 +48,7 @@ MonoBehaviour:
|
|||||||
connectionId: connection_2b7aa20f26bd48acb636a37ed1d20ad0
|
connectionId: connection_2b7aa20f26bd48acb636a37ed1d20ad0
|
||||||
connectedEndpointId: endpoint_7cf95989e98a4de49edb7e2080e1c5e6
|
connectedEndpointId: endpoint_7cf95989e98a4de49edb7e2080e1c5e6
|
||||||
debugLabel: Socket endpoint_27a37615b51f40cdb39acfc9fbffce22
|
debugLabel: Socket endpoint_27a37615b51f40cdb39acfc9fbffce22
|
||||||
syncedAt: 2026-06-21T07:32:14.0449220Z
|
syncedAt: 2026-06-21T15:26:43.1912120Z
|
||||||
contractVersion: 1
|
contractVersion: 1
|
||||||
contractHash: 61f8fa773b7b82088215f69785714fb78c7b2bd51cdf88bf807b1524aa002b10
|
contractHash: 61f8fa773b7b82088215f69785714fb78c7b2bd51cdf88bf807b1524aa002b10
|
||||||
floors:
|
floors:
|
||||||
@ -120,7 +120,7 @@ MonoBehaviour:
|
|||||||
connectionId: connection_d8da15ab563d4bb9ba6f0294cec60341
|
connectionId: connection_d8da15ab563d4bb9ba6f0294cec60341
|
||||||
connectedEndpointId: endpoint_34e27be82570488cbcd45531e56f128c
|
connectedEndpointId: endpoint_34e27be82570488cbcd45531e56f128c
|
||||||
debugLabel: Anchor endpoint_e6e40c3366564b96825ecf652721a46d
|
debugLabel: Anchor endpoint_e6e40c3366564b96825ecf652721a46d
|
||||||
syncedAt: 2026-06-21T07:49:58.6059260Z
|
syncedAt: 2026-06-21T15:26:32.9022510Z
|
||||||
contractVersion: 1
|
contractVersion: 1
|
||||||
contractHash: 78fcf2e37e20cc2a2f3886f01c66855bfc05925f47848f83ae372c9665076bff
|
contractHash: 78fcf2e37e20cc2a2f3886f01c66855bfc05925f47848f83ae372c9665076bff
|
||||||
floors:
|
floors:
|
||||||
15
Assets/Resources/Services/Back Stage Service.asset
Normal file
15
Assets/Resources/Services/Back Stage Service.asset
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !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: 9cfc5682a0f841a098c1287efc45673b, type: 3}
|
||||||
|
m_Name: Back Stage Service
|
||||||
|
m_EditorClassIdentifier: Intrepid General Utilities::Intrepid.Theatre.BackStage.BackStageService
|
||||||
|
minimal: 1.5
|
||||||
@ -1,8 +1,8 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: be54b69524c434f888d7c380a558ccee
|
guid: c58e40006278948db8d8b1f3477f83ea
|
||||||
folderAsset: yes
|
NativeFormatImporter:
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 6d9100ceca4ad4823acdd71aee1abdd2
|
guid: 50ae9a03aff0b452bb4ae075bb5c79f6
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
251
Assets/Scenes/#. Game/#. Game.unity
Normal file
251
Assets/Scenes/#. Game/#. Game.unity
Normal file
@ -0,0 +1,251 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!29 &1
|
||||||
|
OcclusionCullingSettings:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_OcclusionBakeSettings:
|
||||||
|
smallestOccluder: 5
|
||||||
|
smallestHole: 0.25
|
||||||
|
backfaceThreshold: 100
|
||||||
|
m_SceneGUID: 00000000000000000000000000000000
|
||||||
|
m_OcclusionCullingData: {fileID: 0}
|
||||||
|
--- !u!104 &2
|
||||||
|
RenderSettings:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 10
|
||||||
|
m_Fog: 0
|
||||||
|
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||||
|
m_FogMode: 3
|
||||||
|
m_FogDensity: 0.01
|
||||||
|
m_LinearFogStart: 0
|
||||||
|
m_LinearFogEnd: 300
|
||||||
|
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
||||||
|
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
||||||
|
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
||||||
|
m_AmbientIntensity: 1
|
||||||
|
m_AmbientMode: 0
|
||||||
|
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
||||||
|
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_HaloStrength: 0.5
|
||||||
|
m_FlareStrength: 1
|
||||||
|
m_FlareFadeSpeed: 3
|
||||||
|
m_HaloTexture: {fileID: 0}
|
||||||
|
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_DefaultReflectionMode: 0
|
||||||
|
m_DefaultReflectionResolution: 128
|
||||||
|
m_ReflectionBounces: 1
|
||||||
|
m_ReflectionIntensity: 1
|
||||||
|
m_CustomReflection: {fileID: 0}
|
||||||
|
m_Sun: {fileID: 0}
|
||||||
|
m_UseRadianceAmbientProbe: 0
|
||||||
|
--- !u!157 &3
|
||||||
|
LightmapSettings:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 13
|
||||||
|
m_BakeOnSceneLoad: 0
|
||||||
|
m_GISettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_BounceScale: 1
|
||||||
|
m_IndirectOutputScale: 1
|
||||||
|
m_AlbedoBoost: 1
|
||||||
|
m_EnvironmentLightingMode: 0
|
||||||
|
m_EnableBakedLightmaps: 1
|
||||||
|
m_EnableRealtimeLightmaps: 0
|
||||||
|
m_LightmapEditorSettings:
|
||||||
|
serializedVersion: 12
|
||||||
|
m_Resolution: 2
|
||||||
|
m_BakeResolution: 40
|
||||||
|
m_AtlasSize: 1024
|
||||||
|
m_AO: 0
|
||||||
|
m_AOMaxDistance: 1
|
||||||
|
m_CompAOExponent: 1
|
||||||
|
m_CompAOExponentDirect: 0
|
||||||
|
m_ExtractAmbientOcclusion: 0
|
||||||
|
m_Padding: 2
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_LightmapsBakeMode: 1
|
||||||
|
m_TextureCompression: 1
|
||||||
|
m_ReflectionCompression: 2
|
||||||
|
m_MixedBakeMode: 2
|
||||||
|
m_BakeBackend: 2
|
||||||
|
m_PVRSampling: 1
|
||||||
|
m_PVRDirectSampleCount: 32
|
||||||
|
m_PVRSampleCount: 512
|
||||||
|
m_PVRBounces: 2
|
||||||
|
m_PVREnvironmentSampleCount: 256
|
||||||
|
m_PVREnvironmentReferencePointCount: 2048
|
||||||
|
m_PVRFilteringMode: 1
|
||||||
|
m_PVRDenoiserTypeDirect: 1
|
||||||
|
m_PVRDenoiserTypeIndirect: 1
|
||||||
|
m_PVRDenoiserTypeAO: 1
|
||||||
|
m_PVRFilterTypeDirect: 0
|
||||||
|
m_PVRFilterTypeIndirect: 0
|
||||||
|
m_PVRFilterTypeAO: 0
|
||||||
|
m_PVREnvironmentMIS: 1
|
||||||
|
m_PVRCulling: 1
|
||||||
|
m_PVRFilteringGaussRadiusDirect: 1
|
||||||
|
m_PVRFilteringGaussRadiusIndirect: 1
|
||||||
|
m_PVRFilteringGaussRadiusAO: 1
|
||||||
|
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||||
|
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||||
|
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||||
|
m_ExportTrainingData: 0
|
||||||
|
m_TrainingDataDestination: TrainingData
|
||||||
|
m_LightProbeSampleCountMultiplier: 4
|
||||||
|
m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_LightingSettings: {fileID: 0}
|
||||||
|
--- !u!196 &4
|
||||||
|
NavMeshSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_BuildSettings:
|
||||||
|
serializedVersion: 3
|
||||||
|
agentTypeID: 0
|
||||||
|
agentRadius: 0.5
|
||||||
|
agentHeight: 2
|
||||||
|
agentSlope: 45
|
||||||
|
agentClimb: 0.4
|
||||||
|
ledgeDropHeight: 0
|
||||||
|
maxJumpAcrossDistance: 0
|
||||||
|
minRegionArea: 2
|
||||||
|
manualCellSize: 0
|
||||||
|
cellSize: 0.16666667
|
||||||
|
manualTileSize: 0
|
||||||
|
tileSize: 256
|
||||||
|
buildHeightMesh: 0
|
||||||
|
maxJobWorkers: 0
|
||||||
|
preserveTilesOutsideBounds: 0
|
||||||
|
debug:
|
||||||
|
m_Flags: 0
|
||||||
|
m_NavMeshData: {fileID: 0}
|
||||||
|
--- !u!1001 &47316499
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 1110237080051008694, guid: 774b83ee4bf84c4c9b531c2a6350b8a5, type: 3}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6646150498868371415, guid: 774b83ee4bf84c4c9b531c2a6350b8a5, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6646150498868371415, guid: 774b83ee4bf84c4c9b531c2a6350b8a5, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6646150498868371415, guid: 774b83ee4bf84c4c9b531c2a6350b8a5, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6646150498868371415, guid: 774b83ee4bf84c4c9b531c2a6350b8a5, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6646150498868371415, guid: 774b83ee4bf84c4c9b531c2a6350b8a5, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6646150498868371415, guid: 774b83ee4bf84c4c9b531c2a6350b8a5, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6646150498868371415, guid: 774b83ee4bf84c4c9b531c2a6350b8a5, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6646150498868371415, guid: 774b83ee4bf84c4c9b531c2a6350b8a5, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6646150498868371415, guid: 774b83ee4bf84c4c9b531c2a6350b8a5, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6646150498868371415, guid: 774b83ee4bf84c4c9b531c2a6350b8a5, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6646150498868371416, guid: 774b83ee4bf84c4c9b531c2a6350b8a5, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: GameManager
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 774b83ee4bf84c4c9b531c2a6350b8a5, type: 3}
|
||||||
|
--- !u!1 &740018677
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 740018680}
|
||||||
|
- component: {fileID: 740018679}
|
||||||
|
- component: {fileID: 740018678}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: GameMachine
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!114 &740018678
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 740018677}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 42169628482e4d8ebaa2e5d2aa981721, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Assembly-CSharp::Intrepid.Core.GameState.GameStateObject
|
||||||
|
gameState: 5
|
||||||
|
scenes:
|
||||||
|
- {fileID: 11400000, guid: 2ea3d56022e6644b48d5914523eb881b, type: 2}
|
||||||
|
--- !u!114 &740018679
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 740018677}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: c66bd2326f64474394e24e703518b558, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Assembly-CSharp::Intrepid.Core.GameState.GameStateMachine
|
||||||
|
id: 537d76de3a2d4a1db74ae64d5bdb34e2
|
||||||
|
bootstrapState: 5
|
||||||
|
backStageService: {fileID: 11400000, guid: c58e40006278948db8d8b1f3477f83ea, type: 2}
|
||||||
|
--- !u!4 &740018680
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 740018677}
|
||||||
|
serializedVersion: 2
|
||||||
|
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: 0}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!1660057539 &9223372036854775807
|
||||||
|
SceneRoots:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_Roots:
|
||||||
|
- {fileID: 47316499}
|
||||||
|
- {fileID: 740018680}
|
||||||
@ -1,6 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: c02ec45113a494816a04c196b1f5ecee
|
guid: 3608dfea5a5cd4e858767376f801707c
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
15
Assets/Scenes/5. Gameplay/5. Gameplay.asset
Normal file
15
Assets/Scenes/5. Gameplay/5. Gameplay.asset
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !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: e917eef1f66a43e0ad6a399f4a5fcb08, type: 3}
|
||||||
|
m_Name: 5. Gameplay
|
||||||
|
m_EditorClassIdentifier: Assembly-CSharp::Intrepid.Core.Tags.SceneTag
|
||||||
|
code: 5. Gameplay
|
||||||
@ -1,8 +1,8 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 3fe33c5d9e3b94e37b5a7ef0785ddd6d
|
guid: 2ea3d56022e6644b48d5914523eb881b
|
||||||
folderAsset: yes
|
NativeFormatImporter:
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
File diff suppressed because one or more lines are too long
@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using __Prototype.Scripts;
|
|
||||||
using Intrepid.Diagnostics;
|
using Intrepid.Diagnostics;
|
||||||
using Intrepid.Gameplay.Prototyping;
|
using Intrepid.Gameplay.Prototyping;
|
||||||
|
using Intrepid.Temporary;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
|||||||
3
Assets/Scripts/Intrepid/Temporary.meta
Normal file
3
Assets/Scripts/Intrepid/Temporary.meta
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2bf885cff2224c51bf65853c1b36117e
|
||||||
|
timeCreated: 1782101245
|
||||||
@ -5,7 +5,7 @@ using Intrepid.Localization;
|
|||||||
using Intrepid.Utilities;
|
using Intrepid.Utilities;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace __Prototype.Scripts
|
namespace Intrepid.Temporary
|
||||||
{
|
{
|
||||||
public class DebugActionCallable : ActionCallable
|
public class DebugActionCallable : ActionCallable
|
||||||
{
|
{
|
||||||
58
Assets/Scripts/Intrepid/Temporary/FakeSceneManager.cs
Normal file
58
Assets/Scripts/Intrepid/Temporary/FakeSceneManager.cs
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
using System;
|
||||||
|
using Intrepid.Core;
|
||||||
|
using Intrepid.Core.GameState;
|
||||||
|
using Intrepid.SimpleEvents;
|
||||||
|
using Intrepid.Theatre.BackStage;
|
||||||
|
using Intrepid.Theatre.BackStage.Events;
|
||||||
|
using Intrepid.Theatre.Curtain;
|
||||||
|
using Intrepid.Utilities;
|
||||||
|
using TMPro;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace Intrepid.Temporary
|
||||||
|
{
|
||||||
|
public class FakeSceneManager : EventListener
|
||||||
|
{
|
||||||
|
[SerializeField] private GameState nextState = GameState.Gameplay;
|
||||||
|
[SerializeField] private float delay = 2f;
|
||||||
|
[SerializeField] private CurtainTypeTag curtainType;
|
||||||
|
[SerializeField] private string sceneName;
|
||||||
|
[SerializeField] private TextMeshProUGUI textMeshPro;
|
||||||
|
[SerializeField] private bool startOnBootstrap;
|
||||||
|
[SerializeField] private BackStageProcessorMonoBehaviour backStageProcessor;
|
||||||
|
|
||||||
|
private Timer Timer { get; } = new();
|
||||||
|
|
||||||
|
protected override void InitializeVariables()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void OnBootstrap()
|
||||||
|
{
|
||||||
|
if (startOnBootstrap)
|
||||||
|
{
|
||||||
|
Timer.Start();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void Subscriptions()
|
||||||
|
{
|
||||||
|
Subscribe<BackStageWorkIsCompletedEvent>(WhenBackStageWorkIsCompleted);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void WhenBackStageWorkIsCompleted(BackStageWorkIsCompletedEvent e)
|
||||||
|
{
|
||||||
|
Timer.Start();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Update()
|
||||||
|
{
|
||||||
|
if (Timer.IsNotRunning) return;
|
||||||
|
Timer.Update(Time.deltaTime);
|
||||||
|
if (!textMeshPro.IsNull()) textMeshPro.text = $"{sceneName} -> {nextState}\n{delay - Timer.RunningTime:F2}";
|
||||||
|
if (!Timer.Check(delay)) return;
|
||||||
|
Timer.Stop();
|
||||||
|
GameManager.Instance.ChangeGameStateTo(nextState, curtainType, new BackStageProcessorAggregator(backStageProcessor));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5ce8a81b63f84fc2a163369a0e2824f0
|
||||||
|
timeCreated: 1782101252
|
||||||
@ -2,7 +2,7 @@ using Intrepid.Utilities;
|
|||||||
using Sirenix.OdinInspector;
|
using Sirenix.OdinInspector;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace __Prototype.Scripts
|
namespace Intrepid.Temporary
|
||||||
{
|
{
|
||||||
public class FloorDetection : MonoBehaviour
|
public class FloorDetection : MonoBehaviour
|
||||||
{
|
{
|
||||||
@ -4,7 +4,7 @@ using Intrepid.Utilities;
|
|||||||
using Sirenix.OdinInspector;
|
using Sirenix.OdinInspector;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace __Prototype.Scripts
|
namespace Intrepid.Temporary
|
||||||
{
|
{
|
||||||
public class FloorManager : SingletonMonoBehaviour<FloorManager>
|
public class FloorManager : SingletonMonoBehaviour<FloorManager>
|
||||||
{
|
{
|
||||||
@ -4,7 +4,7 @@ using Intrepid.Utilities;
|
|||||||
using Sirenix.OdinInspector;
|
using Sirenix.OdinInspector;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace __Prototype.Scripts
|
namespace Intrepid.Temporary
|
||||||
{
|
{
|
||||||
public struct VisibilityRequest
|
public struct VisibilityRequest
|
||||||
{
|
{
|
||||||
@ -3,7 +3,7 @@ using Intrepid.Utilities;
|
|||||||
using Sirenix.OdinInspector;
|
using Sirenix.OdinInspector;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace __Prototype.Scripts
|
namespace Intrepid.Temporary
|
||||||
{
|
{
|
||||||
public sealed class MeshColorSetter : MonoBehaviour
|
public sealed class MeshColorSetter : MonoBehaviour
|
||||||
{
|
{
|
||||||
@ -4,7 +4,7 @@ using Intrepid.Localization;
|
|||||||
using Intrepid.Utilities;
|
using Intrepid.Utilities;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace __Prototype.Scripts
|
namespace Intrepid.Temporary
|
||||||
{
|
{
|
||||||
[RequireComponent(typeof(MeshColorSetter))]
|
[RequireComponent(typeof(MeshColorSetter))]
|
||||||
public class SwitchActionCallable : ActionCallable
|
public class SwitchActionCallable : ActionCallable
|
||||||
@ -1,4 +1,3 @@
|
|||||||
using Intrepid.Core.Camera;
|
|
||||||
using Intrepid.Core.Camera.Events;
|
using Intrepid.Core.Camera.Events;
|
||||||
using Intrepid.GameManagers;
|
using Intrepid.GameManagers;
|
||||||
using Intrepid.Gameplay.Entities.Player.ActionBelt.Events;
|
using Intrepid.Gameplay.Entities.Player.ActionBelt.Events;
|
||||||
@ -8,7 +7,7 @@ using Intrepid.Utilities;
|
|||||||
using Sirenix.OdinInspector;
|
using Sirenix.OdinInspector;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace __Prototype.Scripts
|
namespace Intrepid.Temporary
|
||||||
{
|
{
|
||||||
public class TempBoot : MonoBehaviour
|
public class TempBoot : MonoBehaviour
|
||||||
{
|
{
|
||||||
@ -3,7 +3,7 @@ using Intrepid.Utilities;
|
|||||||
using Sirenix.OdinInspector;
|
using Sirenix.OdinInspector;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace __Prototype.Scripts
|
namespace Intrepid.Temporary
|
||||||
{
|
{
|
||||||
public class TestGroundMorion : GroundProfileMotionBehaviour
|
public class TestGroundMorion : GroundProfileMotionBehaviour
|
||||||
{
|
{
|
||||||
Loading…
x
Reference in New Issue
Block a user