Medium Puzzle B, refactor puzzle folder structure

This commit is contained in:
2022-11-29 10:13:00 +01:00
parent 3adf743c4c
commit 2b3daeadc2
38 changed files with 23 additions and 1068 deletions

Binary file not shown.

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 392e042234faea84aab057c8329c8589 guid: ceb526f9b2f89ac48bc6c98e6604b08b
folderAsset: yes folderAsset: yes
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}

View File

@@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f928b97941e3469a9015316bb5ac1309, type: 3} m_Script: {fileID: 11500000, guid: f928b97941e3469a9015316bb5ac1309, type: 3}
m_Name: Puzzle A1 m_Name: Puzzle A Easy
m_EditorClassIdentifier: m_EditorClassIdentifier:
types: 02000000 types: 02000000
modulePrefab: {fileID: 5480458432365400828, guid: 4b1cba03201b02345916ed8d217027f2, modulePrefab: {fileID: 5480458432365400828, guid: 4b1cba03201b02345916ed8d217027f2,

View File

@@ -1,6 +1,7 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: e5dce190a8604bc48b04c109b103f8b5 guid: 7ae224a79e61ac24fb314d0743fab9dc
PrefabImporter: folderAsset: yes
DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:
assetBundleName: assetBundleName:

View File

@@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f928b97941e3469a9015316bb5ac1309, type: 3} m_Script: {fileID: 11500000, guid: f928b97941e3469a9015316bb5ac1309, type: 3}
m_Name: Puzzle A2 m_Name: Puzzle A Medium
m_EditorClassIdentifier: m_EditorClassIdentifier:
types: 02000000 types: 02000000
modulePrefab: {fileID: 5480458432365400828, guid: c83416abc9544024db244093f8c800dd, modulePrefab: {fileID: 5480458432365400828, guid: c83416abc9544024db244093f8c800dd,

View File

@@ -1,8 +1,8 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 3e5e65f1afdbf7f458b2bcc8b90ec1ff guid: 19649f458ac60a143a97d277f2285575
NativeFormatImporter: folderAsset: yes
DefaultImporter:
externalObjects: {} externalObjects: {}
mainObjectFileID: 11400000
userData: userData:
assetBundleName: assetBundleName:
assetBundleVariant: assetBundleVariant:

View File

@@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f928b97941e3469a9015316bb5ac1309, type: 3} m_Script: {fileID: 11500000, guid: f928b97941e3469a9015316bb5ac1309, type: 3}
m_Name: Puzzle B1 m_Name: Puzzle B Easy
m_EditorClassIdentifier: m_EditorClassIdentifier:
types: 02000000 types: 02000000
modulePrefab: {fileID: 3968590605239387249, guid: e5dce190a8604bc48b04c109b103f8b5, modulePrefab: {fileID: 3968590605239387249, guid: e5dce190a8604bc48b04c109b103f8b5,

View File

@@ -13,7 +13,7 @@ GameObject:
- component: {fileID: 1568209639435699204} - component: {fileID: 1568209639435699204}
- component: {fileID: 7585276547670451487} - component: {fileID: 7585276547670451487}
m_Layer: 0 m_Layer: 0
m_Name: Puzzle B1 m_Name: Puzzle
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 24a32e147f3a4dc46b30fcb26b57029d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f928b97941e3469a9015316bb5ac1309, type: 3} m_Script: {fileID: 11500000, guid: f928b97941e3469a9015316bb5ac1309, type: 3}
m_Name: Puzzle B2 m_Name: Puzzle B Medium
m_EditorClassIdentifier: m_EditorClassIdentifier:
types: 02000000 types: 02000000
modulePrefab: {fileID: 4375253467126868626, guid: aea74bf9bbeb3e94bba5b275e087b8a9, modulePrefab: {fileID: 4375253467126868626, guid: aea74bf9bbeb3e94bba5b275e087b8a9,

View File

@@ -1,22 +0,0 @@
%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: f928b97941e3469a9015316bb5ac1309, type: 3}
m_Name: Puzzle B
m_EditorClassIdentifier:
types: 02000000
modulePrefab: {fileID: 3968590605239387249, guid: e5dce190a8604bc48b04c109b103f8b5,
type: 3}
preconditionRequirements: []
placementRequirements:
- {fileID: 11400000, guid: ed4830127e9381245a6af07e42c52422, type: 2}
- {fileID: 11400000, guid: 1f1825b71bae09c438a1cb52603347d6, type: 2}
- {fileID: 11400000, guid: 43eb2a566a244964aa3a3319eaafe1a8, type: 2}

File diff suppressed because it is too large Load Diff

View File

@@ -19,7 +19,7 @@ namespace EscapeRoomEngine.Desert.Runtime.Puzzle_B
public class PuzzleB : StatePuzzle public class PuzzleB : StatePuzzle
{ {
[SerializeField] [Min(0)] [SerializeField] [Min(0)]
private float buttonCooldown = 1; private float buttonCooldown;
[ValidateInput("CorrectRotatorCount")] [ValidateInput("CorrectRotatorCount")]
public List<Rotator> rotators; public List<Rotator> rotators;
[InfoBox("Every button action will toggle the states at the given indices between 0 and 90 degrees.")] [InfoBox("Every button action will toggle the states at the given indices between 0 and 90 degrees.")]