Add Main Menu UI, alien models & editor configs

Add VS Code workspace/launch/settings for Unity development and a new MainMenu scene/UI (uxml, uss, tss) with MainMenuController and related assets. Import two alien character FBX models (with generated .meta settings) and add folder metadata. Update Git LFS pointers for a Game Kit scene and add modifications to Game Kit Controller assets (World Canvas material and Save Camera render texture) and ProjectSettings/QualitySettings. These changes bring initial UI/menu assets and character models into the project and add editor tooling/config for easier development.
This commit is contained in:
Robii Aragon
2026-02-17 18:04:37 -08:00
parent 43a43f1cb3
commit c20e39adc4
31 changed files with 982 additions and 23 deletions

View File

@@ -0,0 +1 @@
@import url("project://database/Assets/UI Toolkit/UnityThemes/UnityDefaultRuntimeTheme.tss");

View File

@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 940f49e35c80e31469f13b77d9ad2376
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12388, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
unsupportedSelectorAction: 0

View File

@@ -0,0 +1,54 @@
/* 1. Fondo y Contenedor Principal */
.main-container {
width: 100%;
height: 100%;
flex-grow: 1;
align-items: center;
justify-content: center;
background-color: #2b0057;
}
/* 2. Título "Loco" */
.game-title {
font-size: 120px;
color: #ffffff;
-unity-font-style: bold;
text-shadow: 5px 5px 0px #000000;
margin-bottom: 50px;
rotate: -5deg;
}
/* 3. Botones Base */
.menu-button {
width: 300px;
height: 80px;
margin: 15px;
background-color: #ffffff;
border-radius: 40px;
border-width: 6px;
border-color: #000000;
font-size: 40px;
-unity-font-style: bold;
color: #000000;
transition-property: scale, rotate, background-color;
transition-duration: 0.2s;
transition-timing-function: ease-out-back;
}
/* 4. Estado Hover */
.menu-button:hover {
scale: 1.1 1.1;
rotate: 3deg;
background-color: #ffec00;
color: #2b0057;
}
/* 5. Estado Pressed */
.menu-button:active {
scale: 0.95 0.95;
background-color: #ff8800;
}
/* Estilo botón Salir */
.button-exit { border-color: #ff0044; }
.button-exit:hover { background-color: #ffcccc; }

View File

@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 01b499cb526398648b8a68e04b25779e
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
unsupportedSelectorAction: 0

View File

@@ -0,0 +1,11 @@
<ui:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/Game/Menus/MainMenu/MainMenu.uss?fileID=7433441132597879392&amp;guid=01b499cb526398648b8a68e04b25779e&amp;type=3#MainMenu"/>
<ui:VisualElement name="Container" class="main-container" style="aspect-ratio: 1.777778;">
<ui:Label text="FUERA DE&#10;ESCALA!" name="Title" class="game-title"/>
<ui:VisualElement name="ButtonPanel" class="button-panel">
<ui:Button text="JUGAR" name="BtnPlay" class="menu-button"/>
<ui:Button text="AJUSTES" name="BtnSettings" class="menu-button"/>
<ui:Button text="SALIR" name="BtnExit" class="menu-button button-exit"/>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: be8535891b3f36a47b3fce3714f2f1cc
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}

View File

@@ -0,0 +1,46 @@
using UnityEngine;
using UnityEngine.UIElements; // Necesario para UI Toolkit
using UnityEngine.SceneManagement; // Para cambiar de escena
public class MainMenuController : MonoBehaviour
{
private UIDocument _doc;
private Button _playButton;
private Button _settingsButton;
private Button _exitButton;
private void Awake()
{
// Obtenemos la referencia al documento
_doc = GetComponent<UIDocument>();
var root = _doc.rootVisualElement;
// Buscamos los botones por su nombre (el que pusimos en el UXML)
_playButton = root.Q<Button>("BtnPlay");
_settingsButton = root.Q<Button>("BtnSettings");
_exitButton = root.Q<Button>("BtnExit");
// Asignamos las funciones a los eventos Click
_playButton.clicked += OnPlayClicked;
_settingsButton.clicked += OnSettingsClicked;
_exitButton.clicked += OnExitClicked;
}
private void OnPlayClicked()
{
Debug.Log("¡BWAAAH! Iniciando juego...");
// SceneManager.LoadScene("GameScene");
}
private void OnSettingsClicked()
{
Debug.Log("Abriendo ajustes...");
// Aquí podrías activar un panel superpuesto
}
private void OnExitClicked()
{
Debug.Log("Saliendo...");
Application.Quit();
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 0f2064c8493853641b200d17c4b68fb9

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c1cd48faded2b453c1df275b8a68ab785afc90f965b7ad1864653db804ae1f3
size 1834

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d2d97dec5b7eb064bb0deab27fcd2126
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant: