Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bošániová Monika
Rubics_cube
Commits
ae019aa5
Commit
ae019aa5
authored
May 12, 2022
by
Bošániová Monika
Browse files
tutorial "engine"
parent
d5452d21
Changes
4
Hide whitespace changes
Inline
Side-by-side
Assets/Scenes/Tutorial.unity
View file @
ae019aa5
...
...
@@ -1389,7 +1389,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: -1
18.99994, y: -49.946747
}
m_AnchoredPosition: {x: -1
20, y: -50
}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &182506333
...
...
@@ -1664,7 +1664,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 22
5
, y: -
49.946747
}
m_AnchoredPosition: {x: 22
0
, y: -
50
}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &211922210
...
...
@@ -1697,7 +1697,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 833492352}
m_Father: {fileID:
1982886681
}
m_Father: {fileID:
779116399
}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
...
...
@@ -2659,7 +2659,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 5
3
, y: -
49.946747
}
m_AnchoredPosition: {x: 5
0
, y: -
50
}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &241524241
...
...
@@ -2687,16 +2687,16 @@ RectTransform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 241524241}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
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_Children: []
m_Father: {fileID:
935723326
}
m_RootOrder:
5
m_Father: {fileID:
1079151678
}
m_RootOrder:
2
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:
790
, y: 424.00003}
m_AnchoredPosition: {x:
-603
, y: 424.00003}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &241524243
...
...
@@ -3984,7 +3984,7 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID:
1982886681
}
m_Father: {fileID:
779116399
}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: -179.943, y: 0.117996216, z: -64.20099}
m_AnchorMin: {x: 0.5, y: 0.5}
...
...
@@ -5216,7 +5216,7 @@ MonoBehaviour:
m_material: {fileID: 0}
m_sharedMaterial: {fileID: 0}
m_isDefaultMaterial: 0
m_padding:
1.25
m_padding:
2.438
m_canvasRenderer: {fileID: 405865195}
m_TextComponent: {fileID: 767897523}
m_materialReferenceIndex: 1
...
...
@@ -5741,7 +5741,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 5
3
, y: -215
.94675
}
m_AnchoredPosition: {x: 5
0
, y: -215}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &547634765
...
...
@@ -6016,7 +6016,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 39
6.00006, y: -49.946747
}
m_AnchoredPosition: {x: 39
0, y: -50
}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &574286563
...
...
@@ -7980,7 +7980,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive:
0
m_IsActive:
1
--- !u!224 &721460062
RectTransform:
m_ObjectHideFlags: 0
...
...
@@ -7992,8 +7992,8 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID:
1982886681
}
m_RootOrder:
2
m_Father: {fileID:
854486435
}
m_RootOrder:
0
m_LocalEulerAnglesHint: {x: -180, y: 0, z: -520.705}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
...
...
@@ -9117,7 +9117,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive:
0
m_IsActive:
1
--- !u!224 &767897522
RectTransform:
m_ObjectHideFlags: 0
...
...
@@ -9130,8 +9130,8 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 405865193}
m_Father: {fileID:
1982886681
}
m_RootOrder:
3
m_Father: {fileID:
854486435
}
m_RootOrder:
1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
...
...
@@ -9258,6 +9258,43 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 767897521}
m_CullTransparentMesh: 0
--- !u!1 &779116398
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 779116399}
m_Layer: 5
m_Name: 0
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &779116399
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 779116398}
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_Children:
- {fileID: 304426816}
- {fileID: 211922211}
m_Father: {fileID: 1982886681}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &783286604
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -9766,7 +9803,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 833492351}
m_Enabled:
1
m_Enabled:
0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 058cba836c1846c3aa1c5fd2e28aea77, type: 3}
m_Name:
...
...
@@ -10018,6 +10055,43 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 846649286}
m_PrefabAsset: {fileID: 0}
--- !u!1 &854486434
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 854486435}
m_Layer: 5
m_Name: 1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &854486435
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 854486434}
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_Children:
- {fileID: 721460062}
- {fileID: 767897522}
m_Father: {fileID: 1982886681}
m_RootOrder: 1
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: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &858319546
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -11233,6 +11307,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 935723326}
- component: {fileID: 935723327}
m_Layer: 5
m_Name: Tutorial
m_TagString: Untagged
...
...
@@ -11254,9 +11329,6 @@ RectTransform:
- {fileID: 1720332481}
- {fileID: 1982886681}
- {fileID: 1844095520}
- {fileID: 1006367271}
- {fileID: 1330491947}
- {fileID: 241524242}
m_Father: {fileID: 320450172}
m_RootOrder: 15
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
...
...
@@ -11265,6 +11337,19 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &935723327
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 935723325}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d3d7b41ec684c09449c155656b029731, type: 3}
m_Name:
m_EditorClassIdentifier:
TutorialObjectsParent: {fileID: 0}
--- !u!1 &948626745
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -11454,6 +11539,42 @@ RectTransform:
m_AnchoredPosition: {x: 270, y: -267}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 1, y: 0}
--- !u!1 &988178271
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 988178272}
m_Layer: 5
m_Name: 2
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &988178272
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 988178271}
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_Children:
- {fileID: 2046206828}
m_Father: {fileID: 1982886681}
m_RootOrder: 2
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: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &1003309669
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -11553,16 +11674,16 @@ RectTransform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1006367270}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
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_Children: []
m_Father: {fileID:
935723326
}
m_RootOrder:
3
m_Father: {fileID:
1079151678
}
m_RootOrder:
0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x:
533
, y: 424}
m_AnchoredPosition: {x:
-859.9999
, y: 424}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1006367272
...
...
@@ -11846,6 +11967,44 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1034830389}
m_CullTransparentMesh: 0
--- !u!1 &1079151677
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1079151678}
m_Layer: 5
m_Name: Arrows
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1079151678
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1079151677}
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_Children:
- {fileID: 1006367271}
- {fileID: 1330491947}
- {fileID: 241524242}
m_Father: {fileID: 1174672317}
m_RootOrder: 18
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: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &1083674770
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -12633,6 +12792,7 @@ RectTransform:
- {fileID: 1254300597}
- {fileID: 2126293025}
- {fileID: 125278111}
- {fileID: 1079151678}
m_Father: {fileID: 320450172}
m_RootOrder: 14
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
...
...
@@ -14508,16 +14668,16 @@ RectTransform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1330491946}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
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_Children: []
m_Father: {fileID:
935723326
}
m_RootOrder:
4
m_Father: {fileID:
1079151678
}
m_RootOrder:
1
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:
660
, y: 424.00003}
m_AnchoredPosition: {x:
-732.9999
, y: 424.00003}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1330491948
...
...
@@ -19935,6 +20095,7 @@ GameObject:
- component: {fileID: 1844095523}
- component: {fileID: 1844095522}
- component: {fileID: 1844095521}
- component: {fileID: 1844095524}
m_Layer: 5
m_Name: NextButton
m_TagString: Untagged
...
...
@@ -20005,27 +20166,16 @@ MonoBehaviour:
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 304426815}
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
- m_Target: {fileID: 767897521}
m_MethodName: SetActive
m_Mode: 6
- m_Target: {fileID: 1844095524}
m_MethodName: NextTutorialMove
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument:
1
m_BoolArgument:
0
m_CallState: 2
--- !u!114 &1844095522
MonoBehaviour:
...
...
@@ -20064,6 +20214,19 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1844095519}
m_CullTransparentMesh: 0
--- !u!114 &1844095524
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1844095519}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d3d7b41ec684c09449c155656b029731, type: 3}
m_Name:
m_EditorClassIdentifier:
TutorialObjectsParent: {fileID: 1982886680}
--- !u!1 &1865299285
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -20326,7 +20489,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 5
3
, y: 11
6.05319
}
m_AnchoredPosition: {x: 5
0
, y: 11
5
}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &1888277884
...
...
@@ -21443,7 +21606,7 @@ GameObject:
m_Component:
- component: {fileID: 1982886681}
m_Layer: 5
m_Name: Introduction
ToMap
m_Name: Introduction
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
...
...
@@ -21460,10 +21623,9 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 304426816}
- {fileID: 211922211}
- {fileID: 721460062}
- {fileID: 767897522}
- {fileID: 779116399}
- {fileID: 854486435}
- {fileID: 988178272}
m_Father: {fileID: 935723326}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
...
...
@@ -22521,6 +22683,84 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 2044969512}
m_PrefabAsset: {fileID: 0}
--- !u!1 &2046206827
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2046206828}
- component: {fileID: 2046206830}
- component: {fileID: 2046206829}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2046206828
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2046206827}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 3.0627, y: 3.1506, z: 1}
m_Children: []
m_Father: {fileID: 988178272}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -575.7, y: -335}
m_SizeDelta: {x: 182.39038, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &2046206829
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2046206827}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 0.3726415, b: 0.3726415, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 20
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 2
m_MaxSize: 300
m_Alignment: 1
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: HEJ SOM 2
--- !u!222 &2046206830
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2046206827}
m_CullTransparentMesh: 0
--- !u!1001 &2048902374
PrefabInstance:
m_ObjectHideFlags: 0
...
...
Assets/Scripts/LevelManager.cs
View file @
ae019aa5
...
...
@@ -20,7 +20,7 @@ public class LevelManager : MonoBehaviour
}
}
internal
void
l
oadTo
(
string
levelType
)
internal
void
L
oadTo
(
string
levelType
)
{
//SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
...
...
Assets/Scripts/SceneLoader.cs
View file @
ae019aa5
...
...
@@ -24,7 +24,7 @@ public class SceneLoader : MonoBehaviour
//}
levelManager
.
l
oadTo
(
levelType
);
levelManager
.
L
oadTo
(
levelType
);
}
public
void
LoadGame
()
...
...
Assets/Scripts/TutorialLevel.cs
View file @
ae019aa5
...
...
@@ -5,10 +5,14 @@ using UnityEngine;
public
class
TutorialLevel
:
MonoBehaviour
{
private
int
tutorialIndex
=
0
;
public
GameObject
TutorialObjectsParent
;
// Start is called before the first frame update
void
Start
()
{
//TutorialObjectsParent = GameObject.Find("Introduction");
print
(
"Mam "
+
TutorialObjectsParent
.
name
);
/*
VisualizeLayers();
VisualizeFaces();
...
...
@@ -18,6 +22,25 @@ public class TutorialLevel : MonoBehaviour
*/
}
void
Update
()
{
}
public
void
NextTutorialMove
()
{
Transform
actualVisibleObjects
=
TutorialObjectsParent
.
transform
.
Find
(
tutorialIndex
.
ToString
());
if
(
tutorialIndex
!=
0
)
{
Transform
previousVisibleObjects
=
TutorialObjectsParent
.
transform
.
Find
((
tutorialIndex
-
1
).
ToString
());
previousVisibleObjects
.
gameObject
.
SetActive
(
false
);
}
actualVisibleObjects
.
gameObject
.
SetActive
(
true
);
tutorialIndex
+=
1
;
}
private
void
VisualizeCorners
()
{
throw
new
NotImplementedException
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment