Menu extras añadido pero sin funcionalidades aun

parent 0cae2485
Showing with 87 additions and 31 deletions
......@@ -63,6 +63,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Assets\MainMenu\Scripts\MainMenu.cs" />
<Compile Include="Assets\MainMenu\Scripts\MenuExtras.cs" />
<Compile Include="Assets\MainMenu\Scripts\SeleccionNivel.cs" />
<Compile Include="Assets\Player\Scripts\BalaFlauta.cs" />
<Compile Include="Assets\Player\Scripts\BalaGuitarra.cs" />
......
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class MenuExtras : MonoBehaviour
{
public Coleccionables gameManager;
public TextMeshProUGUI textInfoNivel1;
public TextMeshProUGUI textNumColecNivel1;
public GameObject SitioImagenPartituraNivel1;
// Start is called before the first frame update
void Start()
{
GuardarYCargar.Cargar(gameManager, "slotColeccionables");
Coleccionables.CargarDatos();
//Para el nivel 1
if (Coleccionables.cConseguidos[0] < Coleccionables.cTotales[0])
{
textNumColecNivel1.text = Coleccionables.cConseguidos[0] + "/" + Coleccionables.cTotales[0];
}
else {
}
}
// Update is called once per frame
void Update()
{
}
}
fileFormatVersion: 2
guid: 6b1c1533ea3dfd84391a2e746dda07f2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
......@@ -74,4 +74,4 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 1907c97001aad5943a7c511192d2d99c, type: 3}
m_Name:
m_EditorClassIdentifier:
enemigo: {fileID: 0}
enemigo: {fileID: 3326548381514800793, guid: 4cad856fb8f87054e8cb7d66b4d1e74e, type: 3}
fileFormatVersion: 2
guid: 3dfab5202609ad94c944cde7669b8bd2
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -21,7 +21,7 @@ MonoBehaviour:
m_ShowMode: 4
m_Title:
m_RootView: {fileID: 6}
m_MinSize: {x: 950, y: 544}
m_MinSize: {x: 950, y: 300}
m_MaxSize: {x: 10000, y: 10000}
--- !u!114 &2
MonoBehaviour:
......@@ -44,8 +44,8 @@ MonoBehaviour:
y: 30
width: 1920
height: 947
m_MinSize: {x: 679, y: 494}
m_MaxSize: {x: 14002, y: 14044}
m_MinSize: {x: 683, y: 494}
m_MaxSize: {x: 14004, y: 14044}
vertical: 0
controlID: 13
--- !u!114 &3
......@@ -67,8 +67,8 @@ MonoBehaviour:
y: 0
width: 389
height: 947
m_MinSize: {x: 275, y: 50}
m_MaxSize: {x: 4000, y: 4000}
m_MinSize: {x: 277, y: 72}
m_MaxSize: {x: 4002, y: 4022}
m_ActualView: {fileID: 14}
m_Panes:
- {fileID: 14}
......@@ -93,8 +93,8 @@ MonoBehaviour:
y: 0
width: 379
height: 605
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
m_MinSize: {x: 202, y: 222}
m_MaxSize: {x: 4002, y: 4022}
m_ActualView: {fileID: 15}
m_Panes:
- {fileID: 15}
......@@ -149,7 +149,7 @@ MonoBehaviour:
y: 0
width: 1920
height: 997
m_MinSize: {x: 950, y: 544}
m_MinSize: {x: 950, y: 300}
m_MaxSize: {x: 10000, y: 10000}
--- !u!114 &7
MonoBehaviour:
......@@ -215,7 +215,7 @@ MonoBehaviour:
y: 0
width: 1531
height: 947
m_MinSize: {x: 404, y: 494}
m_MinSize: {x: 406, y: 494}
m_MaxSize: {x: 10002, y: 14044}
vertical: 1
controlID: 14
......@@ -240,8 +240,8 @@ MonoBehaviour:
y: 0
width: 1531
height: 605
m_MinSize: {x: 404, y: 222}
m_MaxSize: {x: 8004, y: 4022}
m_MinSize: {x: 406, y: 222}
m_MaxSize: {x: 8006, y: 4022}
vertical: 0
controlID: 15
--- !u!114 &11
......@@ -336,20 +336,20 @@ MonoBehaviour:
m_ShowAllHits: 0
m_SearchArea: 1
m_Folders:
- Assets/Scenes
- Assets/Sprites/ColeccionablesSprites/Resources
m_ViewMode: 1
m_StartGridSize: 64
m_LastFolders:
- Assets/Scenes
- Assets/Sprites/ColeccionablesSprites/Resources
m_LastFoldersGridSize: -1
m_LastProjectPath: C:\Users\Colme\Documents\UnityProjects\ProyectoVideojuegos\Videojuegos_Proyecto
m_LockTracker:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 962b0000
m_LastClickedID: 11158
m_ExpandedIDs: 00000000c82a00001a34000000ca9a3b
m_SelectedIDs: aa350000
m_LastClickedID: 13738
m_ExpandedIDs: 00000000022d0000ee340000e2350000e635000000ca9a3b
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
......@@ -377,7 +377,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 00000000c82a00001a340000
m_ExpandedIDs: 00000000022d0000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
......@@ -405,7 +405,7 @@ MonoBehaviour:
m_SelectedInstanceIDs:
m_LastClickedInstanceID: 0
m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs: c6230000
m_ExpandedInstanceIDs: c62300009a350000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
......@@ -497,9 +497,9 @@ MonoBehaviour:
m_SceneHierarchy:
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 3e330000
m_LastClickedID: 0
m_ExpandedIDs: 862dffff1c3cffffd04dffffb84effff3858ffff0259ffff485affffdc77ffff0a94ffff5ea1ffffdcd4fffffce6ffff28e7fffff0f1ffff3afaffff
m_SelectedIDs: 804d0000
m_LastClickedID: 19840
m_ExpandedIDs: b6c0ffffb8caffff66d3ffff62dbffff94dbffffeadbffff42ddffffb8dfffff9ae0ffff0cfaffff204a0000244a0000304a00006e4a0000a64c0000564d00005a4d00006e4d0000ac4d0000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
......@@ -559,9 +559,9 @@ MonoBehaviour:
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: 2.6275835, y: -0.29340863, z: -0.9394531}
m_Target: {x: 535.283, y: 355.7328, z: -161.14014}
speed: 2
m_Value: {x: 2.6275835, y: -0.29340863, z: -0.9394531}
m_Value: {x: 535.283, y: 355.7328, z: -161.14014}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
......@@ -594,9 +594,9 @@ MonoBehaviour:
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size:
m_Target: 11.060756
m_Target: 521.232
speed: 2
m_Value: 10.5844555
m_Value: 521.232
m_Ortho:
m_Target: 1
speed: 2
......@@ -670,7 +670,7 @@ MonoBehaviour:
m_HSlider: 0
m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0
m_EnableMouseInput: 0
m_EnableMouseInput: 1
m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0
m_UniformScale: 1
......
sceneSetups:
- path: Assets/Scenes/MenuInicial.unity
- path: Assets/Scenes/MenuExtras.unity
isLoaded: 1
isActive: 1
isSubScene: 0
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":true,"audioPlay":false,"sceneViewState":{"showFog":true,"showMaterialUpdate":false,"showSkybox":true,"showFlares":true,"showImageEffects":true,"showParticleSystems":true},"in2DMode":true,"pivot":{"x":2.6275835037231447,"y":-0.2934086322784424,"z":-0.939453125},"rotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"size":11.060755729675293,"orthographic":true}
\ No newline at end of file
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":true,"audioPlay":false,"sceneViewState":{"showFog":true,"showMaterialUpdate":false,"showSkybox":true,"showFlares":true,"showImageEffects":true,"showParticleSystems":true},"in2DMode":true,"pivot":{"x":535.2830200195313,"y":355.7327880859375,"z":-161.14013671875},"rotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"size":521.2319946289063,"orthographic":true}
\ No newline at end of file
e3e7ce3c9141ed3e2564c1fa58246d1c2aef5990
9bb7645d24da14589dcb039782a424259830b31e
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment