Added unlock info to each button
This commit is contained in:
@@ -15,45 +15,56 @@ MonoBehaviour:
|
|||||||
Buildings:
|
Buildings:
|
||||||
- Name: Fan
|
- Name: Fan
|
||||||
Requirement: 2
|
Requirement: 2
|
||||||
|
Type: 0
|
||||||
Prefab: {fileID: 8624048914473773482, guid: 1b5c88b3f8d08674a9b15155d6ba9a36,
|
Prefab: {fileID: 8624048914473773482, guid: 1b5c88b3f8d08674a9b15155d6ba9a36,
|
||||||
type: 3}
|
type: 3}
|
||||||
- Name: Stair
|
- Name: Stair
|
||||||
Requirement: 0
|
Requirement: 0
|
||||||
|
Type: 0
|
||||||
Prefab: {fileID: 2132872997366704715, guid: 3cf8228c3f6c43d4cb60319693b11828,
|
Prefab: {fileID: 2132872997366704715, guid: 3cf8228c3f6c43d4cb60319693b11828,
|
||||||
type: 3}
|
type: 3}
|
||||||
- Name: Wall
|
- Name: Wall
|
||||||
Requirement: 0
|
Requirement: 0
|
||||||
|
Type: 0
|
||||||
Prefab: {fileID: 1970033728917450326, guid: 3492b31295b69c148bb5a0660e598878,
|
Prefab: {fileID: 1970033728917450326, guid: 3492b31295b69c148bb5a0660e598878,
|
||||||
type: 3}
|
type: 3}
|
||||||
- Name: Spring
|
- Name: Spring
|
||||||
Requirement: 2
|
Requirement: 2
|
||||||
|
Type: 0
|
||||||
Prefab: {fileID: 8624048914473773482, guid: 6060f6928011bf54dad9c5ef16fb1048,
|
Prefab: {fileID: 8624048914473773482, guid: 6060f6928011bf54dad9c5ef16fb1048,
|
||||||
type: 3}
|
type: 3}
|
||||||
- Name: Slicer
|
- Name: Slicer
|
||||||
Requirement: 0
|
Requirement: 0
|
||||||
|
Type: 1
|
||||||
Prefab: {fileID: 8624048914473773482, guid: d26b0bb551b891e41a14009e6df42019,
|
Prefab: {fileID: 8624048914473773482, guid: d26b0bb551b891e41a14009e6df42019,
|
||||||
type: 3}
|
type: 3}
|
||||||
- Name: Presser
|
- Name: Presser
|
||||||
Requirement: 0
|
Requirement: 0
|
||||||
|
Type: 2
|
||||||
Prefab: {fileID: 4125748828694197055, guid: a4c4117a8b12b324186385e04c3ede89,
|
Prefab: {fileID: 4125748828694197055, guid: a4c4117a8b12b324186385e04c3ede89,
|
||||||
type: 3}
|
type: 3}
|
||||||
- Name: Fermenter
|
- Name: Fermenter
|
||||||
Requirement: 7
|
Requirement: 7
|
||||||
|
Type: 6
|
||||||
Prefab: {fileID: 3120737319915985322, guid: b14b2be65581162469cf0e853bdeb24e,
|
Prefab: {fileID: 3120737319915985322, guid: b14b2be65581162469cf0e853bdeb24e,
|
||||||
type: 3}
|
type: 3}
|
||||||
- Name: Grinder
|
- Name: Grinder
|
||||||
Requirement: 5
|
Requirement: 5
|
||||||
|
Type: 4
|
||||||
Prefab: {fileID: 4440782070338813379, guid: d25bbc19d1df47f46bef5870a410e4ba,
|
Prefab: {fileID: 4440782070338813379, guid: d25bbc19d1df47f46bef5870a410e4ba,
|
||||||
type: 3}
|
type: 3}
|
||||||
- Name: Freezer
|
- Name: Freezer
|
||||||
Requirement: 4
|
Requirement: 4
|
||||||
|
Type: 3
|
||||||
Prefab: {fileID: 3206624505647374516, guid: eb59ecc0fb9acda43a01511f3f846b1d,
|
Prefab: {fileID: 3206624505647374516, guid: eb59ecc0fb9acda43a01511f3f846b1d,
|
||||||
type: 3}
|
type: 3}
|
||||||
- Name: Mixer
|
- Name: Mixer
|
||||||
Requirement: 6
|
Requirement: 6
|
||||||
|
Type: 5
|
||||||
Prefab: {fileID: 1231289801164129672, guid: 42cbc99b07e04604baf02f4ed170aac6,
|
Prefab: {fileID: 1231289801164129672, guid: 42cbc99b07e04604baf02f4ed170aac6,
|
||||||
type: 3}
|
type: 3}
|
||||||
- Name: Peeler
|
- Name: Peeler
|
||||||
Requirement: 8
|
Requirement: 8
|
||||||
|
Type: 7
|
||||||
Prefab: {fileID: 7230295749174351428, guid: d26b3108e619653498c646cb86227d43,
|
Prefab: {fileID: 7230295749174351428, guid: d26b3108e619653498c646cb86227d43,
|
||||||
type: 3}
|
type: 3}
|
||||||
|
|||||||
@@ -1057,6 +1057,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 09000000
|
||||||
|
Outputs: 0a000000
|
||||||
|
Building: 3
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 306312747}
|
- {fileID: 306312747}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -1219,6 +1222,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 0
|
Cost: 0
|
||||||
BigText: 1
|
BigText: 1
|
||||||
|
Inputs:
|
||||||
|
Outputs: 05000000
|
||||||
|
Building: 8
|
||||||
RequiredUpgrades: []
|
RequiredUpgrades: []
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
Lines: []
|
Lines: []
|
||||||
@@ -1415,6 +1421,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 12000000
|
||||||
|
Outputs: 14000000
|
||||||
|
Building: 3
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 1215656306}
|
- {fileID: 1215656306}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -1692,6 +1701,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 1f000000
|
||||||
|
Outputs: 21000000
|
||||||
|
Building: 2
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 531797809}
|
- {fileID: 531797809}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -1858,6 +1870,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 07000000
|
||||||
|
Outputs: 1c000000
|
||||||
|
Building: 1
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 766041999}
|
- {fileID: 766041999}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -2099,6 +2114,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 01000000
|
||||||
|
Outputs: 09000000
|
||||||
|
Building: 1
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 946556767}
|
- {fileID: 946556767}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -2533,6 +2551,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 02000000
|
||||||
|
Outputs: 0e000000
|
||||||
|
Building: 3
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 1077588040}
|
- {fileID: 1077588040}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -2891,6 +2912,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 07000000
|
||||||
|
Outputs: 1d000000
|
||||||
|
Building: 4
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 766041999}
|
- {fileID: 766041999}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -3336,6 +3360,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 20000000
|
||||||
|
Outputs: 22000000
|
||||||
|
Building: 2
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 531797809}
|
- {fileID: 531797809}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -3498,6 +3525,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 06000000
|
||||||
|
Outputs: 1f00000020000000
|
||||||
|
Building: 7
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 1805700036}
|
- {fileID: 1805700036}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -3959,6 +3989,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 04000000
|
||||||
|
Outputs: 19000000
|
||||||
|
Building: 1
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 1342376329}
|
- {fileID: 1342376329}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -4521,6 +4554,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 02000000
|
||||||
|
Outputs: 0c000000
|
||||||
|
Building: 2
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 1077588040}
|
- {fileID: 1077588040}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -4722,6 +4758,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 1b0000001c0000001e00000019000000
|
||||||
|
Outputs: 25000000
|
||||||
|
Building: 5
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 1552666745}
|
- {fileID: 1552666745}
|
||||||
- {fileID: 282988162}
|
- {fileID: 282988162}
|
||||||
@@ -5129,6 +5168,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 0
|
Cost: 0
|
||||||
BigText: 1
|
BigText: 1
|
||||||
|
Inputs:
|
||||||
|
Outputs: 07000000
|
||||||
|
Building: 8
|
||||||
RequiredUpgrades: []
|
RequiredUpgrades: []
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
Lines: []
|
Lines: []
|
||||||
@@ -5291,6 +5333,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 140000001d000000
|
||||||
|
Outputs: 26000000
|
||||||
|
Building: 5
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 239945582}
|
- {fileID: 239945582}
|
||||||
- {fileID: 471231064}
|
- {fileID: 471231064}
|
||||||
@@ -6433,6 +6478,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 0
|
Cost: 0
|
||||||
BigText: 1
|
BigText: 1
|
||||||
|
Inputs:
|
||||||
|
Outputs: 01000000
|
||||||
|
Building: 8
|
||||||
RequiredUpgrades: []
|
RequiredUpgrades: []
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
Lines: []
|
Lines: []
|
||||||
@@ -6893,6 +6941,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 220000001d000000
|
||||||
|
Outputs: 27000000
|
||||||
|
Building: 5
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 528476489}
|
- {fileID: 528476489}
|
||||||
- {fileID: 471231064}
|
- {fileID: 471231064}
|
||||||
@@ -7065,6 +7116,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 15000000
|
||||||
|
Outputs: 18000000
|
||||||
|
Building: 6
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 1812298575}
|
- {fileID: 1812298575}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -7355,6 +7409,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 100000
|
Cost: 100000
|
||||||
BigText: 1
|
BigText: 1
|
||||||
|
Inputs:
|
||||||
|
Outputs: 02000000
|
||||||
|
Building: 8
|
||||||
RequiredUpgrades: []
|
RequiredUpgrades: []
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
Lines: []
|
Lines: []
|
||||||
@@ -7587,6 +7644,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 03000000
|
||||||
|
Outputs: 1200000011000000
|
||||||
|
Building: 0
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 1486581294}
|
- {fileID: 1486581294}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -8376,6 +8436,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 0
|
Cost: 0
|
||||||
BigText: 1
|
BigText: 1
|
||||||
|
Inputs:
|
||||||
|
Outputs: 04000000
|
||||||
|
Building: 8
|
||||||
RequiredUpgrades: []
|
RequiredUpgrades: []
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
Lines: []
|
Lines: []
|
||||||
@@ -8397,6 +8460,81 @@ MonoBehaviour:
|
|||||||
m_EffectColor: {r: 0.81960785, g: 0.5882353, b: 0.003921569, a: 1}
|
m_EffectColor: {r: 0.81960785, g: 0.5882353, b: 0.003921569, a: 1}
|
||||||
m_EffectDistance: {x: 1, y: -1}
|
m_EffectDistance: {x: 1, y: -1}
|
||||||
m_UseGraphicAlpha: 1
|
m_UseGraphicAlpha: 1
|
||||||
|
--- !u!1 &1369132765
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1369132766}
|
||||||
|
- component: {fileID: 1369132768}
|
||||||
|
- component: {fileID: 1369132767}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Overlay
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &1369132766
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1369132765}
|
||||||
|
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: 1719094753}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 3840, y: 2160}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &1369132767
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1369132765}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.23529412, g: 0.23529412, b: 0.23529412, a: 0.47058824}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 0}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!222 &1369132768
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1369132765}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &1377362334
|
--- !u!1 &1377362334
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -8580,6 +8718,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 0c000000
|
||||||
|
Outputs: 0d000000
|
||||||
|
Building: 6
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 683605715}
|
- {fileID: 683605715}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -8780,6 +8921,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 05000000
|
||||||
|
Outputs: 1a000000
|
||||||
|
Building: 2
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 218329192}
|
- {fileID: 218329192}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -9142,6 +9286,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 10000000
|
Cost: 10000000
|
||||||
BigText: 1
|
BigText: 1
|
||||||
|
Inputs:
|
||||||
|
Outputs: 03000000
|
||||||
|
Building: 8
|
||||||
RequiredUpgrades: []
|
RequiredUpgrades: []
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
Lines: []
|
Lines: []
|
||||||
@@ -9440,6 +9587,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 0b0000001a000000
|
||||||
|
Outputs: 23000000
|
||||||
|
Building: 5
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 1992771926}
|
- {fileID: 1992771926}
|
||||||
- {fileID: 1449025487}
|
- {fileID: 1449025487}
|
||||||
@@ -9614,6 +9764,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 05000000
|
||||||
|
Outputs: 1b000000
|
||||||
|
Building: 1
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 218329192}
|
- {fileID: 218329192}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -10325,7 +10478,6 @@ GameObject:
|
|||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 1719094753}
|
- component: {fileID: 1719094753}
|
||||||
- component: {fileID: 1719094755}
|
|
||||||
- component: {fileID: 1719094754}
|
- component: {fileID: 1719094754}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: BigUpgradeInfoBoard
|
m_Name: BigUpgradeInfoBoard
|
||||||
@@ -10345,7 +10497,8 @@ RectTransform:
|
|||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children:
|
||||||
|
- {fileID: 1369132766}
|
||||||
m_Father: {fileID: 1601651585}
|
m_Father: {fileID: 1601651585}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
@@ -10362,35 +10515,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1719094752}
|
m_GameObject: {fileID: 1719094752}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
m_Script: {fileID: 11500000, guid: e4c6a04234de4d38a0c2efa098d3aed3, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
|
m_EditorClassIdentifier: Fruitomation::Fruitomation.UI.UpgradeInfoBoard
|
||||||
m_Material: {fileID: 0}
|
BoardGO: {fileID: 1369132765}
|
||||||
m_Color: {r: 0.23529412, g: 0.23529412, b: 0.23529412, a: 0.5882353}
|
|
||||||
m_RaycastTarget: 1
|
|
||||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_Maskable: 1
|
|
||||||
m_OnCullStateChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
m_Sprite: {fileID: 0}
|
|
||||||
m_Type: 0
|
|
||||||
m_PreserveAspect: 0
|
|
||||||
m_FillCenter: 1
|
|
||||||
m_FillMethod: 4
|
|
||||||
m_FillAmount: 1
|
|
||||||
m_FillClockwise: 1
|
|
||||||
m_FillOrigin: 0
|
|
||||||
m_UseSpriteMesh: 0
|
|
||||||
m_PixelsPerUnitMultiplier: 1
|
|
||||||
--- !u!222 &1719094755
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1719094752}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!1 &1721077920
|
--- !u!1 &1721077920
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -10532,6 +10660,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 08000000
|
||||||
|
Outputs: 1e000000
|
||||||
|
Building: 1
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 2128693475}
|
- {fileID: 2128693475}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -10695,6 +10826,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 0a0000000e00000010000000
|
||||||
|
Outputs: 24000000
|
||||||
|
Building: 5
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 406517119}
|
- {fileID: 406517119}
|
||||||
- {fileID: 216535976}
|
- {fileID: 216535976}
|
||||||
@@ -10870,6 +11004,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 11000000
|
||||||
|
Outputs: 13000000
|
||||||
|
Building: 2
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 1215656306}
|
- {fileID: 1215656306}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -11032,6 +11169,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 0
|
Cost: 0
|
||||||
BigText: 1
|
BigText: 1
|
||||||
|
Inputs:
|
||||||
|
Outputs: 06000000
|
||||||
|
Building: 8
|
||||||
RequiredUpgrades: []
|
RequiredUpgrades: []
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
Lines: []
|
Lines: []
|
||||||
@@ -11193,6 +11333,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 04000000
|
||||||
|
Outputs: 1500000016000000
|
||||||
|
Building: 2
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 1342376329}
|
- {fileID: 1342376329}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -11356,6 +11499,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 16000000
|
||||||
|
Outputs: 17000000
|
||||||
|
Building: 4
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 1812298575}
|
- {fileID: 1812298575}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -11522,6 +11668,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 0f000000
|
||||||
|
Outputs: 10000000
|
||||||
|
Building: 3
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 1836886870}
|
- {fileID: 1836886870}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -11685,6 +11834,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 03000000
|
||||||
|
Outputs: 0f000000
|
||||||
|
Building: 1
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 1486581294}
|
- {fileID: 1486581294}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -12156,6 +12308,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 0
|
DrawDefaultLines: 0
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
BigText: 0
|
BigText: 0
|
||||||
|
Inputs: 01000000
|
||||||
|
Outputs: 0b000000
|
||||||
|
Building: 2
|
||||||
RequiredUpgrades:
|
RequiredUpgrades:
|
||||||
- {fileID: 946556767}
|
- {fileID: 946556767}
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
@@ -12544,6 +12699,9 @@ MonoBehaviour:
|
|||||||
DrawDefaultLines: 1
|
DrawDefaultLines: 1
|
||||||
Cost: 0
|
Cost: 0
|
||||||
BigText: 1
|
BigText: 1
|
||||||
|
Inputs:
|
||||||
|
Outputs: 08000000
|
||||||
|
Building: 8
|
||||||
RequiredUpgrades: []
|
RequiredUpgrades: []
|
||||||
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
LineMaterial: {fileID: 2100000, guid: eb8c84c9b7bce8f4ab2641ccf50d239c, type: 2}
|
||||||
Lines: []
|
Lines: []
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ namespace Fruitomation.Game
|
|||||||
{
|
{
|
||||||
public string Name;
|
public string Name;
|
||||||
public BuildingUnlock Requirement;
|
public BuildingUnlock Requirement;
|
||||||
|
public AutomationBuildingType Type;
|
||||||
public GameObject Prefab;
|
public GameObject Prefab;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -75,6 +75,19 @@ namespace Fruitomation.Game
|
|||||||
[Preserve] Peeler,
|
[Preserve] Peeler,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Serializable] public enum AutomationBuildingType
|
||||||
|
{
|
||||||
|
[Preserve] None,
|
||||||
|
[Preserve] Slicer,
|
||||||
|
[Preserve] Presser,
|
||||||
|
[Preserve] HeatExchanger,
|
||||||
|
[Preserve] Grinder,
|
||||||
|
[Preserve] Mixer,
|
||||||
|
[Preserve] Fermenter,
|
||||||
|
[Preserve] Peeler,
|
||||||
|
[Preserve] Spawner
|
||||||
|
}
|
||||||
|
|
||||||
public class UnlockedUpgrades
|
public class UnlockedUpgrades
|
||||||
{
|
{
|
||||||
[Serializable] public class Serialized
|
[Serializable] public class Serialized
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ using UnityEngine.UI;
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System;
|
using System;
|
||||||
|
using Fruitomation.Game.Items;
|
||||||
using Fruitomation.Global;
|
using Fruitomation.Global;
|
||||||
using PashaBibko.Pacore.Attributes;
|
using PashaBibko.Pacore.Attributes;
|
||||||
|
|
||||||
@@ -31,11 +32,16 @@ namespace Fruitomation.UI
|
|||||||
[SerializeField] private double Cost;
|
[SerializeField] private double Cost;
|
||||||
[SerializeField] private bool BigText;
|
[SerializeField] private bool BigText;
|
||||||
|
|
||||||
|
[Header("Unlock Info\n")]
|
||||||
|
[SerializeField] private ItemType[] Inputs;
|
||||||
|
[SerializeField] private ItemType[] Outputs;
|
||||||
|
[SerializeField] private AutomationBuildingType Building;
|
||||||
|
|
||||||
[Header("References")]
|
[Header("References")]
|
||||||
|
[SerializeField] private UpgradeInfoBoard UpgradeBoard;
|
||||||
[SerializeField] private BasicUpgradeButton[] RequiredUpgrades;
|
[SerializeField] private BasicUpgradeButton[] RequiredUpgrades;
|
||||||
[SerializeField] private Material LineMaterial;
|
[SerializeField] private Material LineMaterial;
|
||||||
|
|
||||||
[Header("Lines")]
|
|
||||||
[SerializeField] private LineInfo[] Lines;
|
[SerializeField] private LineInfo[] Lines;
|
||||||
|
|
||||||
private (LineRenderer, BasicUpgradeButton, LineInfo)[] UpgradeLines;
|
private (LineRenderer, BasicUpgradeButton, LineInfo)[] UpgradeLines;
|
||||||
|
|||||||
22
Assets/Scripts/UI/UpgradeInfoBoard.cs
Normal file
22
Assets/Scripts/UI/UpgradeInfoBoard.cs
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace Fruitomation.UI
|
||||||
|
{
|
||||||
|
public class UpgradeInfoBoard : MonoBehaviour
|
||||||
|
{
|
||||||
|
[SerializeField] private GameObject BoardGO;
|
||||||
|
|
||||||
|
private void Start()
|
||||||
|
{
|
||||||
|
BoardGO.SetActive(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Enable()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Disable()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
3
Assets/Scripts/UI/UpgradeInfoBoard.cs.meta
Normal file
3
Assets/Scripts/UI/UpgradeInfoBoard.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e4c6a04234de4d38a0c2efa098d3aed3
|
||||||
|
timeCreated: 1777970079
|
||||||
Reference in New Issue
Block a user