SchultzGames
Para tirar dúvidas, crie um tópico especifico na área "Dúvidas em Geral" e aguarde ser respondido. Evite comentar em tópicos não relacionados a sua dúvida :D
TÓPICOS RECENTES:
Tópico:
Postado em:
Postado por:
[RESOLVIDO] Unity - Scrollbar não funciona
[TUTORIAL] AI que cria scripts para você, inclusive scripts para Unity !!!!
[RESOLVIDO] Animando Image na Unity não funciona
Aplicativo para IOS
Hospedar um jogo multiplay na itch.io
Unity -TextMeshProUGUI- 1 das coisas q estão deixando a scene lenta p abrir
Script para detetectar o movimento do player
Alguém ajuda com um erro por favor? PSDImporter.cs
[RESOLVIDO] - Unity - Rotação da Câmera - Mathf.Clamp não funciona
Alterar textura .unity3d
Comportamento do movimento do inimigo. Sair do caminho e Fugir
Procuro uma equipe
Ajuda Com Sala de Jogo Multiplayer
COMO FAZER A PORTA ABRIR SÓ EMPURRANDO ELA COM O PLAYER?
Visual Studio - Vend os Scripts na Aba "Modo de Exibição de Classe" soltos
app fica fechendo após mobile notification
[RESOLVIDO] Controlar dois player dentro de um jogo multiplay usando mirror
Unity - O Jogo fecha quando vai abrir a Scene
[TUTORIAL] Mudando material
Procuro programador Unity para jogo 2D
AJUDA REALISTIC CAR CONTROLLER
Chama para isqueiro
[RESOLVIDO] Ajuda para destruir objeto
Unity - Sistema de Giro da Tela - Ajuda pfv!
Unity - Touch na Tela do Celular
Dawn Of Hell - Horror Game BR (2022-2023)
Unity - Jogo online ou offline?
ANIMAÇÃO INIMIGO ESTÁ INDO PRA TUDO QUANTO É LADO
[RESOLVIDO] Erro de Script no Android
Bundle Assets, Resources, e Addressables
Jogo online (qual a melhor opção?)
Dúvida sobre como criar o inimigo IA!
Unity dando pause no jogo a cada 4 segundos
bom dia amigos eu sou meio lego nos scripts será que alguem pode me ajudar
JOGO "CHALLENGE" FINALIZADO E DISPONÍVEL PARA BAIXAR.
error CS0246
[TUTORIAL]Como Chamar Um Método Usando Uma String como Parametro
[TUTORIAL] Sistema de FPS com Corpo
NullReferenceException: Object reference not set to an instance
dúvida ao criar subscription no play console
Unity - Scene Demorando pra abrir
Erro Slider de Cor
Alguem sabe que tipo de antena é essa ?
Encontrando um ponto de colisão.
Preciso de vocess! Coisinha simples mais me embananei. Meu primeiro game.
[TUTORIAL] Como carregar uma cena em segundo plano?
push notification com firebase falha
PROCURO UMA EQUIPE - Pagamento VIA PIX
Testem Meu Novo Jogo WEBGL ANDROIDD
ajuste de tela automático de celular
como fazer um chat interativo offline?
Música grátis para Jogos Indies [Calma, Relaxante, Flauta e outras coisas]
PROCURO PROGRAMADOR EXPERIENTE PHOTON
problema com canvas ui button
Banco de dados em Unity v2021.3.4f1
Sistema de Yu-Gi-Oh! - LINK PARA DOWNLOAD 2023
Int de dinheiro fica com numeros negativos em vez de travar no "0"
UNITY - FORMAÇÃO DE EQUIPE
[TUTORIAL] Open World Project - Para Unity-
Tutorial + Kit Para Criar seu Game Multiplayer em 5 Minutos
Como fazer movimentação no estilo tunnel Rush
[RESOLVIDO] Ajuste de tela
Debugar erro ao fechar build do projeto
[RESOLVIDO] Como Suavizar transição de uma Animação pra outra
[RESOLVIDO] Fixar tamanho/resolução proporcional da janela da aplicação
Como faço pra chamar a funçao de um script em outro ?
[RESOLVIDO] Alterar variaveis de classes instanciadas no inspector
como fazer o objeto spawnar com uma cor aleatória dentre as que eu quero?
Blender-Cell Fracture - Juntar as Animações de Todos os Fragmentos em 1 só
Oque acham dessa pequena música?
Unity - Faz mal ou tem algum problema se usar mts Layers?
Drag and drop em um rect específico da UI
Inimigo mudar de animação
[RESOLVIDO] Texto aparecer tipo donkey kong
De 0 a 10, qual a chance de isso causar problemas legais ao vender o jogo?
Teaser do meu novo projeto, War land
SCRIPT QUE SALVA A CENA INTEIRA.
datebest.net - visit link to find love or quick sex !
[RESOLVIDO] Dropdown Salvar a Resolução da tela
[RESOLVIDO] Visual Studio - Como saber onde um método está sendo usado
Teste Chat Openai
Como alterar um GameObject dentro de uma array
Baixos Brasil - Jogo de Carro Brasileiro!
Erro il2cpp unity 2022
[RESOLVIDO] "Is Trigger" não funcionando
FORMAÇÃO DE EQUIPE UNITY 3D
Equipamento para usar no Cinemachine
[RESOLVIDO] Destruir objetos com o mesmo id
Salvar seleção do Toggle
Fiz uma música orquestral para uma batalha final contra um Boss
Como você foi Hackeado DENOVO!!!???
PROCURO UMA EQUIPE - Pagamento VIA Pix
PROCURO PROGRAMADOR EXPERIENTE EM MIRROR
Visual Studio - Como abrir um Script com determinada configuração?
Mover objeto no eixo y
EXPORTAR CENA EM FORMATO DE VIDEO?
LANÇAMENTO JOGO DE CARRO E MOTO PARA ANDROID
Como fazer um sistema para trocar musica da cena com DROPDOWN?
SOU MODELADOR
Qui Mar 23, 2023 4:52 pm
Ter Mar 21, 2023 11:20 pm
Ter Mar 21, 2023 8:52 pm
Ter Mar 21, 2023 4:00 pm
Sáb Mar 18, 2023 8:41 pm
Sáb Mar 18, 2023 4:35 pm
Sex Mar 17, 2023 3:12 pm
Sex Mar 17, 2023 1:24 pm
Seg Mar 13, 2023 10:45 pm
Seg Mar 13, 2023 9:48 pm
Seg Mar 13, 2023 8:24 pm
Seg Mar 13, 2023 7:17 pm
Dom Mar 12, 2023 10:27 pm
Dom Mar 12, 2023 7:22 pm
Sex Mar 10, 2023 8:26 pm
Sex Mar 10, 2023 8:00 pm
Qui Mar 09, 2023 9:05 am
Ter Mar 07, 2023 2:27 pm
Sex Mar 03, 2023 6:47 pm
Sex Mar 03, 2023 12:01 am
Qui Mar 02, 2023 4:00 pm
Qui Mar 02, 2023 1:35 pm
Qua Mar 01, 2023 5:47 pm
Qua Mar 01, 2023 2:11 am
Seg Fev 27, 2023 11:08 pm
Seg Fev 27, 2023 7:19 pm
Dom Fev 26, 2023 11:49 pm
Dom Fev 26, 2023 8:29 pm
Dom Fev 26, 2023 7:47 pm
Dom Fev 26, 2023 7:46 pm
Dom Fev 26, 2023 6:08 pm
Sáb Fev 25, 2023 8:16 pm
Seg Fev 13, 2023 7:02 pm
Seg Fev 13, 2023 2:44 am
Dom Fev 12, 2023 9:57 pm
Dom Fev 12, 2023 2:19 pm
Sáb Fev 11, 2023 1:01 pm
Sex Fev 10, 2023 11:14 pm
Sex Fev 10, 2023 8:18 pm
Sex Fev 10, 2023 7:46 pm
Qui Fev 09, 2023 11:29 pm
Qui Fev 09, 2023 11:01 pm
Qui Fev 09, 2023 5:42 pm
Qua Fev 08, 2023 2:20 pm
Ter Fev 07, 2023 11:47 pm
Seg Fev 06, 2023 8:24 pm
Seg Fev 06, 2023 5:40 pm
Dom Fev 05, 2023 12:53 am
Sáb Fev 04, 2023 3:42 pm
Sáb Fev 04, 2023 2:29 pm
Sáb Fev 04, 2023 12:07 am
Sex Fev 03, 2023 10:53 pm
Sex Fev 03, 2023 10:28 pm
Qui Fev 02, 2023 7:52 pm
Qui Fev 02, 2023 8:49 am
Qua Fev 01, 2023 5:56 pm
Ter Jan 31, 2023 1:00 am
Dom Jan 29, 2023 11:12 pm
Sáb Jan 28, 2023 6:50 pm
Sex Jan 27, 2023 8:52 pm
Sex Jan 27, 2023 4:53 am
Qui Jan 26, 2023 10:56 pm
Dom Jan 22, 2023 11:53 am
Dom Jan 22, 2023 3:33 am
Sáb Jan 21, 2023 3:27 pm
Sáb Jan 21, 2023 2:15 pm
Sex Jan 20, 2023 4:30 pm
Sex Jan 20, 2023 2:15 pm
Qua Jan 18, 2023 10:19 pm
Qua Jan 18, 2023 9:47 am
Ter Jan 17, 2023 10:52 pm
Ter Jan 17, 2023 4:08 pm
Ter Jan 17, 2023 2:45 pm
Seg Jan 16, 2023 7:20 pm
Seg Jan 16, 2023 12:18 pm
Dom Jan 15, 2023 3:02 pm
Sáb Jan 14, 2023 7:02 pm
Sex Jan 13, 2023 8:29 am
Qui Jan 12, 2023 5:15 am
Qui Jan 12, 2023 2:31 am
Qua Jan 11, 2023 1:33 pm
Ter Jan 10, 2023 11:55 am
Ter Jan 10, 2023 10:58 am
Ter Jan 10, 2023 3:04 am
Seg Jan 09, 2023 10:43 pm
Seg Jan 09, 2023 6:30 am
Seg Jan 09, 2023 3:18 am
Seg Jan 09, 2023 2:32 am
Sáb Jan 07, 2023 5:55 pm
Sáb Jan 07, 2023 4:01 pm
Sáb Jan 07, 2023 1:38 pm
Sex Jan 06, 2023 9:15 am
Sex Jan 06, 2023 6:33 am
Qui Jan 05, 2023 5:27 pm
Qui Jan 05, 2023 2:50 pm
Qua Jan 04, 2023 3:07 pm
Qua Jan 04, 2023 9:19 am
Sáb Dez 31, 2022 4:38 pm
Sáb Dez 31, 2022 3:18 am



































































































[TUTORIAL] Como criar o MENU INICIAL

+15
Pqquim
GustavoMaster
Animdude
RenanMSV
Marssa
gabriel33601
cartola
wender_2015
Santiago Furtado
liloc32
Karen
diogodavilafernandes
xKillOne
dennys
MarcosSchultz
19 participantes

Ir para baixo

TUTORIAL [TUTORIAL] Como criar o MENU INICIAL

Mensagem por MarcosSchultz Dom Jan 25, 2015 4:52 pm

.






ATENÇÃO, HÁ UMA VERSÃO MAIS ATUAL DESTE SISTEMA, NESTE LINK ABAIXO:

https://www.schultzgames.com/t816-tutorial-menu-principal-unity-5-5-3-ou-superior-com-ui












Versão mais antiga:





Scripts:

Código:
using UnityEngine;
using System.Collections;
public class MENU : MonoBehaviour {
 private AudioListener[] AudioListners;
 public Texture QualidadeGrafica,Resolucoes,ModoJanelaOuTelaCheia,Volume,TexturaCreditos,TexturaFundosMenu,TexturaGraficos;
 private bool EstaNoMenuPrincipal,EstaNosGraficos,EstaNosCreditos;
 public GUIStyle EstiloDosBotoesPrincipais,EstiloDosBotoesGraficos;
 private string ResolucaoLargura = "1024",ResolucaoAltura = "768";
 private float VOLUME;
 private int qualidadeGrafica;
 public Font Fonte;
 public int tamanhoDaLetra = 4;
 void Awake (){
 DontDestroyOnLoad (transform.gameObject);
 }
 void Start (){
 EstaNoMenuPrincipal = true;
 Screen.showCursor = true;
 Time.timeScale = 1;
 // PREFERENCIAS SALVAS
 if (PlayerPrefs.HasKey ("VOLUME")) {
 VOLUME = PlayerPrefs.GetFloat ("VOLUME");
 } else {
 PlayerPrefs.SetFloat ("VOLUME", VOLUME);
 }
 //
 if (PlayerPrefs.HasKey ("qualidadeGrafica")) {
 qualidadeGrafica = PlayerPrefs.GetInt ("qualidadeGrafica");
 QualitySettings.SetQualityLevel(qualidadeGrafica);
 } else {
 PlayerPrefs.SetInt ("qualidadeGrafica", qualidadeGrafica);
 }
 }
 void Update (){
 //Preencher Arrays
 if (Application.loadedLevelName != "MENU") {
 AudioListners = GameObject.FindObjectsOfType(typeof(AudioListener)) as AudioListener[];
 AudioListener.volume = VOLUME;
 Destroy (gameObject);
 }
 }
 void OnGUI (){
 GUI.skin.font = Fonte;
 EstiloDosBotoesPrincipais.fontSize = Screen.height / 100 * tamanhoDaLetra;
 EstiloDosBotoesGraficos.fontSize = Screen.height / 100 * tamanhoDaLetra;
 //=============================== SE ESTA NA PARTE PRINCIPAL DO MENU ===================//
 if (EstaNoMenuPrincipal == true) {
 GUI.skin.button = EstiloDosBotoesPrincipais;
 GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/2,Screen.height/2-Screen.height/2,Screen.width,Screen.height),TexturaFundosMenu);
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/5.5f,Screen.width/8,Screen.height/14),"Jogar")){
 Application.LoadLevel ("AI");// NOME DA CENA DO SEU JOGO
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/16,Screen.width/8,Screen.height/14),"Opçoes")){
 EstaNoMenuPrincipal = false;
 EstaNosGraficos = true;
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2+Screen.height/16,Screen.width/8,Screen.height/14),"Creditos")){
 EstaNoMenuPrincipal = false;
 EstaNosCreditos = true;
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2+Screen.height/5.5f,Screen.width/8,Screen.height/14),"Sair")){
 Application.Quit ();
 }
 }
 //=============================== SE ESTA NA PARTE DOS GRAFICOS DO MENU ===================//
 if (EstaNosGraficos == true) {
 GUI.skin.button = EstiloDosBotoesGraficos;
 GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/2,Screen.height/2-Screen.height/2,Screen.width,Screen.height),TexturaGraficos);
 GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/3,Screen.height/2-Screen.height/2.5f,Screen.width/8,Screen.height/14),QualidadeGrafica);
 GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/2.5f,Screen.width/8,Screen.height/14),Resolucoes);
 GUI.DrawTexture(new Rect(Screen.width/2+Screen.width/5,Screen.height/2-Screen.height/2.5f,Screen.width/8,Screen.height/14),ModoJanelaOuTelaCheia);
 GUI.DrawTexture(new Rect(Screen.width/2+Screen.width/5,Screen.height/2-Screen.height/10,Screen.width/8,Screen.height/14),Volume);
 //
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/2.2f,Screen.height/2+Screen.height/2.5f,Screen.width/8,Screen.height/14),"VOLTAR")){
 EstaNoMenuPrincipal = true;
 EstaNosGraficos = false;
 }
 //QUALIDADES
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2-Screen.height/4,Screen.width/8,Screen.height/14),"PESSIMO")){
 QualitySettings.SetQualityLevel(0);
 qualidadeGrafica = 0;
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2-Screen.height/6,Screen.width/8,Screen.height/14),"RUIM")){
 QualitySettings.SetQualityLevel(1);
 qualidadeGrafica = 1;
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2-Screen.height/12,Screen.width/8,Screen.height/14),"SIMPLES")){
 QualitySettings.SetQualityLevel(2);
 qualidadeGrafica = 2;
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2,Screen.width/8,Screen.height/14),"BOM")){
 QualitySettings.SetQualityLevel(3);
 qualidadeGrafica = 3;
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2+Screen.height/12,Screen.width/8,Screen.height/14),"OTIMO")){
 QualitySettings.SetQualityLevel(4);
 qualidadeGrafica = 4;
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2+Screen.height/6,Screen.width/8,Screen.height/14),"FANTASTICO")){
 QualitySettings.SetQualityLevel(5);
 qualidadeGrafica = 5;
 }
 //RESOLUCOES
 ResolucaoLargura = GUI.TextField(new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/4,Screen.width/8,Screen.height/14),ResolucaoLargura);
 ResolucaoAltura = GUI.TextField(new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/6,Screen.width/8,Screen.height/14),ResolucaoAltura);
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/12,Screen.width/8,Screen.height/14),"Aplicar")){
 Screen.SetResolution(int.Parse (ResolucaoLargura),int.Parse (ResolucaoAltura),true);
 }
 //TELACHEIA
 if(GUI.Button(new Rect(Screen.width/2+Screen.width/5,Screen.height/2-Screen.height/4,Screen.width/8,Screen.height/14),"Trocar")){
 Screen.fullScreen = !Screen.fullScreen;
 }
 //VOLUME
 VOLUME = GUI.HorizontalSlider(new Rect(Screen.width/2+Screen.width/5,Screen.height/2,Screen.width/8,Screen.height/14),VOLUME,0,1);
 //SALVAR PREFERENCIAS
 if(GUI.Button(new Rect(Screen.width/2+Screen.width/5,Screen.height/2+Screen.height/3,Screen.width/8,Screen.height/14),"SALVAR PREF.")){
 PlayerPrefs.SetFloat("VOLUME",VOLUME);
 PlayerPrefs.SetInt("qualidadeGrafica",qualidadeGrafica);
 }
 }
 //=============================== SE ESTA NA PARTE DOS CREDITOS DO MENU ===================//
 if (EstaNosCreditos == true) {
 GUI.skin.button = EstiloDosBotoesGraficos;
 GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/2,Screen.height/2-Screen.height/2,Screen.width,Screen.height),TexturaCreditos);
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/2.2f,Screen.height/2+Screen.height/2.5f,Screen.width/8,Screen.height/14),"VOLTAR")){
 EstaNoMenuPrincipal = true;
 EstaNosCreditos = false;
 }
 }
 }
}




Texturas:


As texturas de fundo não vou por aqui por que não tem necessidade... vou por apenas as dos botões

[TUTORIAL] Como criar o MENU INICIAL BotoesEmGeral
[TUTORIAL] Como criar o MENU INICIAL QUALIDADE
[TUTORIAL] Como criar o MENU INICIAL Resolucoes
[TUTORIAL] Como criar o MENU INICIAL TelacheiaOuJanela
[TUTORIAL] Como criar o MENU INICIAL VOLUME




OBS: SE ESTIVER UTILIZANDO A UNITY 5, USE O SCRIPT ABAIXO:





Código:
using UnityEngine;
using System.Collections;
public class MENU : MonoBehaviour {
 private AudioListener[] AudioListners;
 public Texture QualidadeGrafica,Resolucoes,ModoJanelaOuTelaCheia,Volume,TexturaCreditos,TexturaFundosMenu,TexturaGraficos;
 private bool EstaNoMenuPrincipal,EstaNosGraficos,EstaNosCreditos;
 public GUIStyle EstiloDosBotoesPrincipais,EstiloDosBotoesGraficos;
 private string ResolucaoLargura = "1024",ResolucaoAltura = "768";
 private float VOLUME;
 private int qualidadeGrafica;
 public Font Fonte;
 public int tamanhoDaLetra = 4;
 void Awake (){
 DontDestroyOnLoad (transform.gameObject);
 }
 void Start (){
 EstaNoMenuPrincipal = true;
 Cursor.visible = true;
 Time.timeScale = 1;
 // PREFERENCIAS SALVAS
 if (PlayerPrefs.HasKey ("VOLUME")) {
 VOLUME = PlayerPrefs.GetFloat ("VOLUME");
 } else {
 PlayerPrefs.SetFloat ("VOLUME", VOLUME);
 }
 //
 if (PlayerPrefs.HasKey ("qualidadeGrafica")) {
 qualidadeGrafica = PlayerPrefs.GetInt ("qualidadeGrafica");
 QualitySettings.SetQualityLevel(qualidadeGrafica);
 } else {
 PlayerPrefs.SetInt ("qualidadeGrafica", qualidadeGrafica);
 }
 }
 void Update (){
 //Preencher Arrays
 if (Application.loadedLevelName != "MENU") {
 AudioListners = GameObject.FindObjectsOfType(typeof(AudioListener)) as AudioListener[];
 AudioListener.volume = VOLUME;
 Destroy (gameObject);
 }
 }
 void OnGUI (){
 GUI.skin.font = Fonte;
 EstiloDosBotoesPrincipais.fontSize = Screen.height / 100 * tamanhoDaLetra;
 EstiloDosBotoesGraficos.fontSize = Screen.height / 100 * tamanhoDaLetra;
 //=============================== SE ESTA NA PARTE PRINCIPAL DO MENU ===================//
 if (EstaNoMenuPrincipal == true) {
 GUI.skin.button = EstiloDosBotoesPrincipais;
 GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/2,Screen.height/2-Screen.height/2,Screen.width,Screen.height),TexturaFundosMenu);
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/5.5f,Screen.width/8,Screen.height/14),"Jogar")){
 Application.LoadLevel ("AI");// NOME DA CENA DO SEU JOGO
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/16,Screen.width/8,Screen.height/14),"Opçoes")){
 EstaNoMenuPrincipal = false;
 EstaNosGraficos = true;
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2+Screen.height/16,Screen.width/8,Screen.height/14),"Creditos")){
 EstaNoMenuPrincipal = false;
 EstaNosCreditos = true;
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2+Screen.height/5.5f,Screen.width/8,Screen.height/14),"Sair")){
 Application.Quit ();
 }
 }
 //=============================== SE ESTA NA PARTE DOS GRAFICOS DO MENU ===================//
 if (EstaNosGraficos == true) {
 GUI.skin.button = EstiloDosBotoesGraficos;
 GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/2,Screen.height/2-Screen.height/2,Screen.width,Screen.height),TexturaGraficos);
 GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/3,Screen.height/2-Screen.height/2.5f,Screen.width/8,Screen.height/14),QualidadeGrafica);
 GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/2.5f,Screen.width/8,Screen.height/14),Resolucoes);
 GUI.DrawTexture(new Rect(Screen.width/2+Screen.width/5,Screen.height/2-Screen.height/2.5f,Screen.width/8,Screen.height/14),ModoJanelaOuTelaCheia);
 GUI.DrawTexture(new Rect(Screen.width/2+Screen.width/5,Screen.height/2-Screen.height/10,Screen.width/8,Screen.height/14),Volume);
 //
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/2.2f,Screen.height/2+Screen.height/2.5f,Screen.width/8,Screen.height/14),"VOLTAR")){
 EstaNoMenuPrincipal = true;
 EstaNosGraficos = false;
 }
 //QUALIDADES
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2-Screen.height/4,Screen.width/8,Screen.height/14),"PESSIMO")){
 QualitySettings.SetQualityLevel(0);
 qualidadeGrafica = 0;
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2-Screen.height/6,Screen.width/8,Screen.height/14),"RUIM")){
 QualitySettings.SetQualityLevel(1);
 qualidadeGrafica = 1;
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2-Screen.height/12,Screen.width/8,Screen.height/14),"SIMPLES")){
 QualitySettings.SetQualityLevel(2);
 qualidadeGrafica = 2;
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2,Screen.width/8,Screen.height/14),"BOM")){
 QualitySettings.SetQualityLevel(3);
 qualidadeGrafica = 3;
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2+Screen.height/12,Screen.width/8,Screen.height/14),"OTIMO")){
 QualitySettings.SetQualityLevel(4);
 qualidadeGrafica = 4;
 }
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2+Screen.height/6,Screen.width/8,Screen.height/14),"FANTASTICO")){
 QualitySettings.SetQualityLevel(5);
 qualidadeGrafica = 5;
 }
 //RESOLUCOES
 ResolucaoLargura = GUI.TextField(new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/4,Screen.width/8,Screen.height/14),ResolucaoLargura);
 ResolucaoAltura = GUI.TextField(new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/6,Screen.width/8,Screen.height/14),ResolucaoAltura);
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/12,Screen.width/8,Screen.height/14),"Aplicar")){
 Screen.SetResolution(int.Parse (ResolucaoLargura),int.Parse (ResolucaoAltura),true);
 }
 //TELACHEIA
 if(GUI.Button(new Rect(Screen.width/2+Screen.width/5,Screen.height/2-Screen.height/4,Screen.width/8,Screen.height/14),"Trocar")){
 Screen.fullScreen = !Screen.fullScreen;
 }
 //VOLUME
 VOLUME = GUI.HorizontalSlider(new Rect(Screen.width/2+Screen.width/5,Screen.height/2,Screen.width/8,Screen.height/14),VOLUME,0,1);
 //SALVAR PREFERENCIAS
 if(GUI.Button(new Rect(Screen.width/2+Screen.width/5,Screen.height/2+Screen.height/3,Screen.width/8,Screen.height/14),"SALVAR PREF.")){
 PlayerPrefs.SetFloat("VOLUME",VOLUME);
 PlayerPrefs.SetInt("qualidadeGrafica",qualidadeGrafica);
 }
 }  
 //=============================== SE ESTA NA PARTE DOS CREDITOS DO MENU ===================//
 if (EstaNosCreditos == true) {
 GUI.skin.button = EstiloDosBotoesGraficos;
 GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/2,Screen.height/2-Screen.height/2,Screen.width,Screen.height),TexturaCreditos);
 if(GUI.Button (new Rect(Screen.width/2-Screen.width/2.2f,Screen.height/2+Screen.height/2.5f,Screen.width/8,Screen.height/14),"VOLTAR")){
 EstaNoMenuPrincipal = true;
 EstaNosCreditos = false;
 }
 }
 }
}


Última edição por MarcosSchultz em Ter Jun 07, 2016 8:55 pm, editado 4 vez(es)
MarcosSchultz
MarcosSchultz
Administrador

Masculino PONTOS : 64344
REPUTAÇÃO : 2634
Idade : 26
Áreas de atuação : Administrador do fórum
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

https://www.schultzgames.com

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por dennys Qui Abr 23, 2015 9:56 pm

mano. eu baixei seu script eu uso unity 4.5 e o problema e que fiz um objeto vazio e coloquei o script la , mas quando dou enter nao aparece nada sabe. so fica a camera normal azul de fundo. oq faço?

dennys
Iniciante
Iniciante

PONTOS : 2923
REPUTAÇÃO : 0
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por MarcosSchultz Qui Abr 23, 2015 11:39 pm

Preste atenção no vídeo inteiro...

o nome da sua cena é " MENU " ou o nome está diferente?

tem como postar print da aba inspector do item que contem o script?
MarcosSchultz
MarcosSchultz
Administrador

Masculino PONTOS : 64344
REPUTAÇÃO : 2634
Idade : 26
Áreas de atuação : Administrador do fórum
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

https://www.schultzgames.com

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por xKillOne Ter maio 05, 2015 10:13 am

file:///C:/Users/Maycon/Desktop/Sem%20t%C3%ADtulo.png olha amigo Aki olha C# que Botamos dentro do Empty AondevaioScripts da um erro assim Cant´t add script pode me ajudar uso o Unity 5

xKillOne
Iniciante
Iniciante

PONTOS : 2883
REPUTAÇÃO : 0
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por MarcosSchultz Ter maio 05, 2015 12:59 pm

Não consigo acessar a imagem... você precisa upar em algum site para que eu possa ver.


Más provavelmente o nome da sua cena de menu está diferente...

tem que ser exatamente " MENU "

e o nome do script também, tem que ser " MENU "
MarcosSchultz
MarcosSchultz
Administrador

Masculino PONTOS : 64344
REPUTAÇÃO : 2634
Idade : 26
Áreas de atuação : Administrador do fórum
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

https://www.schultzgames.com

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por diogodavilafernandes Ter maio 12, 2015 4:06 pm

Caro administrador. eu olhei o video com toda atenção e notei que ta faltando voce dizer onde colocamos os scripts na cenas. voce criou varias cenas e queria saber onde carregar cada menu e cada cena

obrigado.

diogodavilafernandes
Iniciante
Iniciante

PONTOS : 2882
REPUTAÇÃO : 0
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por MarcosSchultz Ter maio 12, 2015 11:34 pm

Eu explico, e ainda falo sobre as tags que devem ter... talvez você não tenha percebido pela extensão do vídeo ( mais de 1 hora )

Estou trabalhando em tutoriais mais curtos a pedido dos membros :D
MarcosSchultz
MarcosSchultz
Administrador

Masculino PONTOS : 64344
REPUTAÇÃO : 2634
Idade : 26
Áreas de atuação : Administrador do fórum
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

https://www.schultzgames.com

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por diogodavilafernandes Qui maio 14, 2015 11:50 pm

Caro administrador. muito obrigado pela dica. é que realmente estou com dificuldades para fazer o menu funcionar. o codigo esta tudo certo, meu problema é na hora de adicionar as imagens e as GUI. desculpa fica incomodando com isso, mais fazer um menu funcional como esse é muito importante pra mim então qualquer ajuda é bem vinda
obrigado

diogodavilafernandes
Iniciante
Iniciante

PONTOS : 2882
REPUTAÇÃO : 0
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por diogodavilafernandes Qui maio 14, 2015 11:51 pm

O problema no video é que vc ja ta com os arquivos carregados. seria legal vc carregar eles durante o video

diogodavilafernandes
Iniciante
Iniciante

PONTOS : 2882
REPUTAÇÃO : 0
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por Karen Sáb Jun 06, 2015 2:59 am

O meu menu não funciona.Alguém pode me ajudar? Acho que está tudo correto...
O nome do meu arquivo C# é "MENU" e o nome da minha fase é "Fase1", conforme mostra o código abaixo:

using UnityEngine;
using System.Collections;

public class MENU : MonoBehaviour {
private AudioListener[] AudioListners;
public Texture QualidadeGrafica,Resolucoes,ModoJanelaOuTelaCheia,Volume,TexturaCreditos,TexturaFundosMenu,TexturaGraficos;
private bool EstaNoMenuPrincipal,EstaNosGraficos,EstaNosCreditos;
public GUIStyle EstiloDosBotoesPrincipais,EstiloDosBotoesGraficos;
private string ResolucaoLargura = "1024",ResolucaoAltura = "768";
private float VOLUME;
private int qualidadeGrafica;
public Font Fonte;
public int tamanhoDaLetra = 4;
void Awake (){
DontDestroyOnLoad (transform.gameObject);
}
void Start (){
EstaNoMenuPrincipal = true;
Screen.showCursor = true;
Time.timeScale = 1;
// PREFERENCIAS SALVAS
if (PlayerPrefs.HasKey ("VOLUME")) {
VOLUME = PlayerPrefs.GetFloat ("VOLUME");
} else {
PlayerPrefs.SetFloat ("VOLUME", VOLUME);
}
//
if (PlayerPrefs.HasKey ("qualidadeGrafica")) {
qualidadeGrafica = PlayerPrefs.GetInt ("qualidadeGrafica");
QualitySettings.SetQualityLevel(qualidadeGrafica);
} else {
PlayerPrefs.SetInt ("qualidadeGrafica", qualidadeGrafica);
}
}
void Update (){
//Preencher Arrays
if (Application.loadedLevelName != "MENU") {
AudioListners = GameObject.FindObjectsOfType(typeof(AudioListener)) as AudioListener[];
AudioListener.volume = VOLUME;
Destroy (gameObject);
}
}
void OnGUI (){
GUI.skin.font = Fonte;
EstiloDosBotoesPrincipais.fontSize = Screen.height / 100 * tamanhoDaLetra;
EstiloDosBotoesGraficos.fontSize = Screen.height / 100 * tamanhoDaLetra;
//=============================== SE ESTA NA PARTE PRINCIPAL DO MENU ===================//
if (EstaNoMenuPrincipal == true) {
GUI.skin.button = EstiloDosBotoesPrincipais;
GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/2,Screen.height/2-Screen.height/2,Screen.width,Screen.height),TexturaFundosMenu);
if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/5.5f,Screen.width/8,Screen.height/14),"Jogar")){
Application.LoadLevel ("Fase1");// NOME DA CENA DO SEU JOGO
}
if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/16,Screen.width/8,Screen.height/14),"Opçoes")){
EstaNoMenuPrincipal = false;
EstaNosGraficos = true;
}
if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2+Screen.height/16,Screen.width/8,Screen.height/14),"Creditos")){
EstaNoMenuPrincipal = false;
EstaNosCreditos = true;
}
if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2+Screen.height/5.5f,Screen.width/8,Screen.height/14),"Sair")){
Application.Quit ();
}
}
//=============================== SE ESTA NA PARTE DOS GRAFICOS DO MENU ===================//
if (EstaNosGraficos == true) {
GUI.skin.button = EstiloDosBotoesGraficos;
GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/2,Screen.height/2-Screen.height/2,Screen.width,Screen.height),TexturaGraficos);
GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/3,Screen.height/2-Screen.height/2.5f,Screen.width/8,Screen.height/14),QualidadeGrafica);
GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/2.5f,Screen.width/8,Screen.height/14),Resolucoes);
GUI.DrawTexture(new Rect(Screen.width/2+Screen.width/5,Screen.height/2-Screen.height/2.5f,Screen.width/8,Screen.height/14),ModoJanelaOuTelaCheia);
GUI.DrawTexture(new Rect(Screen.width/2+Screen.width/5,Screen.height/2-Screen.height/10,Screen.width/8,Screen.height/14),Volume);
//
if(GUI.Button (new Rect(Screen.width/2-Screen.width/2.2f,Screen.height/2+Screen.height/2.5f,Screen.width/8,Screen.height/14),"VOLTAR")){
EstaNoMenuPrincipal = true;
EstaNosGraficos = false;
}
//QUALIDADES
if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2-Screen.height/4,Screen.width/8,Screen.height/14),"PESSIMO")){
QualitySettings.SetQualityLevel(0);
qualidadeGrafica = 0;
}
if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2-Screen.height/6,Screen.width/8,Screen.height/14),"RUIM")){
QualitySettings.SetQualityLevel(1);
qualidadeGrafica = 1;
}
if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2-Screen.height/12,Screen.width/8,Screen.height/14),"SIMPLES")){
QualitySettings.SetQualityLevel(2);
qualidadeGrafica = 2;
}
if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2,Screen.width/8,Screen.height/14),"BOM")){
QualitySettings.SetQualityLevel(3);
qualidadeGrafica = 3;
}
if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2+Screen.height/12,Screen.width/8,Screen.height/14),"OTIMO")){
QualitySettings.SetQualityLevel(4);
qualidadeGrafica = 4;
}
if(GUI.Button (new Rect(Screen.width/2-Screen.width/3,Screen.height/2+Screen.height/6,Screen.width/8,Screen.height/14),"FANTASTICO")){
QualitySettings.SetQualityLevel(5);
qualidadeGrafica = 5;
}
//RESOLUCOES
ResolucaoLargura = GUI.TextField(new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/4,Screen.width/8,Screen.height/14),ResolucaoLargura);
ResolucaoAltura = GUI.TextField(new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/6,Screen.width/8,Screen.height/14),ResolucaoAltura);
if(GUI.Button (new Rect(Screen.width/2-Screen.width/16,Screen.height/2-Screen.height/12,Screen.width/8,Screen.height/14),"Aplicar")){
Screen.SetResolution(int.Parse (ResolucaoLargura),int.Parse (ResolucaoAltura),true);
}
//TELACHEIA
if(GUI.Button(new Rect(Screen.width/2+Screen.width/5,Screen.height/2-Screen.height/4,Screen.width/8,Screen.height/14),"Trocar")){
Screen.fullScreen = !Screen.fullScreen;
}
//VOLUME
VOLUME = GUI.HorizontalSlider(new Rect(Screen.width/2+Screen.width/5,Screen.height/2,Screen.width/8,Screen.height/14),VOLUME,0,1);
//SALVAR PREFERENCIAS
if(GUI.Button(new Rect(Screen.width/2+Screen.width/5,Screen.height/2+Screen.height/3,Screen.width/8,Screen.height/14),"SALVAR PREF.")){
PlayerPrefs.SetFloat("VOLUME",VOLUME);
PlayerPrefs.SetInt("qualidadeGrafica",qualidadeGrafica);
}
}
//=============================== SE ESTA NA PARTE DOS CREDITOS DO MENU ===================//
if (EstaNosCreditos == true) {
GUI.skin.button = EstiloDosBotoesGraficos;
GUI.DrawTexture(new Rect(Screen.width/2-Screen.width/2,Screen.height/2-Screen.height/2,Screen.width,Screen.height),TexturaCreditos);
if(GUI.Button (new Rect(Screen.width/2-Screen.width/2.2f,Screen.height/2+Screen.height/2.5f,Screen.width/8,Screen.height/14),"VOLTAR")){
EstaNoMenuPrincipal = true;
EstaNosCreditos = false;
}
}
}
}


P.S Estou usando o Unity 4.6.4.

Karen
Iniciante
Iniciante

PONTOS : 2851
REPUTAÇÃO : 0
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por MarcosSchultz Sáb Jun 06, 2015 12:39 pm

o nome da fase tem que ser " MENU " também, por causa disso:

Código:

if (Application.loadedLevelName != "MENU") {
MarcosSchultz
MarcosSchultz
Administrador

Masculino PONTOS : 64344
REPUTAÇÃO : 2634
Idade : 26
Áreas de atuação : Administrador do fórum
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

https://www.schultzgames.com

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por liloc32 Sex Jul 24, 2015 5:25 pm

oi marcos tudo joia? o meu ta certin so nao ta indo em cena para cena troquei nome do AI para a cena que eu quero que vai to usando unity 4.5

liloc32
Iniciante
Iniciante

PONTOS : 2820
REPUTAÇÃO : 2
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por Santiago Furtado Sex Jul 24, 2015 5:52 pm

Colocou a cena no Build Settings

Santiago Furtado
MembroAvançado

Masculino PONTOS : 3129
REPUTAÇÃO : 16
Idade : 21
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por MarcosSchultz Sex Jul 24, 2015 6:43 pm

Como o santiago falou, dá uma conferida se a cena está na aba "Build Settings" :D
MarcosSchultz
MarcosSchultz
Administrador

Masculino PONTOS : 64344
REPUTAÇÃO : 2634
Idade : 26
Áreas de atuação : Administrador do fórum
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

https://www.schultzgames.com

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por wender_2015 Dom Ago 16, 2015 2:07 am

Marcos tem como voce me arrumar o MouseLook pra mim, estou com a Unity 5.1 e o MouseLook e muito diferente olha

using System;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;

namespace UnityStandardAssets.Characters.FirstPerson
{
    [Serializable]
    public class MouseLook
    {
        public float XSensitivity = 2f;
        public float YSensitivity = 2f;
        public bool clampVerticalRotation = true;
        public float MinimumX = -90F;
        public float MaximumX = 90F;
        public bool smooth;
        public float smoothTime = 5f;
float rotationY = 0F;

        private Quaternion m_CharacterTargetRot;
        private Quaternion m_CameraTargetRot;


        public void Init(Transform character, Transform camera)
        {
            m_CharacterTargetRot = character.localRotation;
            m_CameraTargetRot = camera.localRotation;
        }


        public void LookRotation(Transform character, Transform camera)
        {
            float yRot = CrossPlatformInputManager.GetAxis("Mouse X") * XSensitivity;
            float xRot = CrossPlatformInputManager.GetAxis("Mouse Y") * YSensitivity;

            m_CharacterTargetRot *= Quaternion.Euler (0f, yRot, 0f);
            m_CameraTargetRot *= Quaternion.Euler (-xRot, 0f, 0f);

            if(clampVerticalRotation)
                m_CameraTargetRot = ClampRotationAroundXAxis (m_CameraTargetRot);

            if(smooth)
            {
                character.localRotation = Quaternion.Slerp (character.localRotation, m_CharacterTargetRot,
                    smoothTime * Time.deltaTime);
                camera.localRotation = Quaternion.Slerp (camera.localRotation, m_CameraTargetRot,
                    smoothTime * Time.deltaTime);
            }
            else
            {
                character.localRotation = m_CharacterTargetRot;
                camera.localRotation = m_CameraTargetRot;
            }
        }


        Quaternion ClampRotationAroundXAxis(Quaternion q)
        {
            q.x /= q.w;
            q.y /= q.w;
            q.z /= q.w;
            q.w = 1.0f;

            float angleX = 2.0f * Mathf.Rad2Deg * Mathf.Atan (q.x);

            angleX = Mathf.Clamp (angleX, MinimumX, MaximumX);

            q.x = Mathf.Tan (0.5f * Mathf.Deg2Rad * angleX);

            return q;
        }

    }
}

wender_2015
Iniciante
Iniciante

PONTOS : 2883
REPUTAÇÃO : 0
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por MarcosSchultz Dom Ago 16, 2015 2:54 pm

na unity 5 o mouselook é 100% diferente e não tem muito como intercalar de uma versão para a outra.


o que exatamente quer fazer que não está dando certo com o mouseLook que a unity 5 tem?
MarcosSchultz
MarcosSchultz
Administrador

Masculino PONTOS : 64344
REPUTAÇÃO : 2634
Idade : 26
Áreas de atuação : Administrador do fórum
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

https://www.schultzgames.com

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por cartola Ter Set 01, 2015 2:36 am

Deu tudo certo, mas não consigo digitar um número na caixa de resolução, simplesmente não vai nada, só consigo colocar um número lá dentro se eu copiar e colar. O que fazer?

cartola
Iniciante
Iniciante

PONTOS : 2765
REPUTAÇÃO : 0
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por MarcosSchultz Ter Set 01, 2015 9:42 pm

Já tentou com os números que ficam em cima das letras também?
MarcosSchultz
MarcosSchultz
Administrador

Masculino PONTOS : 64344
REPUTAÇÃO : 2634
Idade : 26
Áreas de atuação : Administrador do fórum
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

https://www.schultzgames.com

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por cartola Ter Set 01, 2015 10:04 pm

Sim, tentei isso também. Só consigo apagar os números mas não consigo preencher com número nenhum. Engraçado que apenas isso não funcionou, o resto funcionou como devia ser. Estou usando seu código do unity 5.

cartola
Iniciante
Iniciante

PONTOS : 2765
REPUTAÇÃO : 0
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por gabriel33601 Seg Out 19, 2015 10:54 pm

oi eu estou tendo problemas simplesmente quando dou play nao aparece nada ja listei no Build Settings mudei o nome da Cena para AI e não funcional de jeito nenhum nao da erro simplesmente nao aparece nada

gabriel33601
Iniciante
Iniciante

PONTOS : 2715
REPUTAÇÃO : 0
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por MarcosSchultz Ter Out 20, 2015 1:15 pm

gabriel, o nome da sua cena de menu é exatamente "MENU" como está explicado no vídeo?

caso contrário, o script será destruido nesta parte:

Código:
 if (Application.loadedLevelName != "MENU") {
        AudioListners = GameObject.FindObjectsOfType(typeof(AudioListener)) as AudioListener[];
        AudioListener.volume = VOLUME;
        Destroy (gameObject);
      }
MarcosSchultz
MarcosSchultz
Administrador

Masculino PONTOS : 64344
REPUTAÇÃO : 2634
Idade : 26
Áreas de atuação : Administrador do fórum
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

https://www.schultzgames.com

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por Marssa Ter Nov 10, 2015 6:51 am

Marcos, como eu faço para meu menu só tiver: Uma imagem no fundo, um botão de play e um de load game???

Marssa
Membro
Membro

Masculino PONTOS : 2749
REPUTAÇÃO : 1
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por RenanMSV Ter Nov 10, 2015 9:45 am

Marssa escreveu:Marcos, como eu faço para meu menu só tiver: Uma imagem no fundo, um botão de play e um de load game???
Usa UI..

Vai no create empty, adiciona um componente "UI>Canvas", dps vai com o botao direito o objeto e clica em create "UI>Image", ela vai automaticamente ficar do tamanho da tela, ou nao, se nao ficar aumente ela ateh cobrir toda a area do canvas.
Depois adicione os dois botoes. Arrume a posicao deles.
Crie um script C# chamado UIManagerScript assim:
Código:

public int fase;

public void StartGame(){
 Application.LoadLevel(fase);
}
public void LoadGame(){
 int save = PlayerPrefs.GetInt("save");
 Application.LoadLevel(save);
}

Para o Load game funcionar voce precisa antes ter salvado o jogo com o comando PlayerPrefs. Basta setar um registro chamado "save" com o valor correspondente a fase que voce salvou. E o loadgame ira funcionar.

Agora com o script criado crie um novo objeto vazio e coloque o script nele. Renomeie o objeto para UIManager (se quiser crie um prefab dele para usar em outros menus)

Va no objeto botao que voce criou anteriormente e vera que nos componentes existe um que esta escrito OnClick. Vai estar vazio entao clique no sinal de "+" e arraste o objeto UIManager para dentro da opcao que pede um objeto. Clique na lista ao lado do local em que voce pos o objeto e ira aparecer la em ultimo o UIManagerScript, coloque o mouse sobre e vera suas 2 voids la (StartGame e LoadGame), apenas coloque  startgame no botao de start, e loadgame no botao de start.
Va no objeto UIManager e no campo "fase" coloque o valor da fase que ele tem que carregar quando clicar no botao. Para saber o valor é só saber a ordem das cenas. A primeira o valor é 0, a segunda o valor é 1, terceira é 2... Voce pode ver isso no BuildSettings.
Agora enfeite os botoes.

Leia isso: o UIManager é um exemplo de como voce pode chamar funcoes pelos componentes UI. Sendo assim voce simplesmente cria eles no script e configura nos botoes, caixas de textos, sliders...qual funcao chamar quando for clicado, for escrito, ou deslizado..etc
RenanMSV
RenanMSV
Instrutor

Masculino PONTOS : 3876
REPUTAÇÃO : 355
Áreas de atuação : Programação em C#, PHP. SQL, JavaScript (Web)
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por Animdude Seg Nov 30, 2015 10:04 am

Como Faço para adicionar uma logo do jogo
Animdude
Animdude
Membro
Membro

Masculino PONTOS : 2768
REPUTAÇÃO : 1
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por GustavoMaster Seg Nov 30, 2015 12:24 pm

Animdude escreveu:Como Faço para adicionar uma logo do jogo

Quando vc for dar o build no jogo vai aparecer um monte de opções e uma dessas opções é a de selecionar o logotipo !
GustavoMaster
GustavoMaster
Avançado
Avançado

Masculino PONTOS : 3165
REPUTAÇÃO : 14
Idade : 20
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por Pqquim Ter Dez 08, 2015 5:50 pm

Consegui fazer o menu deu tudo certo , porem a imagem de fundo do menu ficou mais escura do que o normal . Onde posso arrumar isso ?

[TUTORIAL] Como criar o MENU INICIAL 2zq7x20
Pqquim
Pqquim
Iniciante
Iniciante

PONTOS : 2684
REPUTAÇÃO : 1
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por MarcosSchultz Qua Dez 09, 2015 12:46 am

Não tem muito sentido estar acontecendo isto, afinal, é uma DrawTexture O.o

Você modificou o tipo dela?
MarcosSchultz
MarcosSchultz
Administrador

Masculino PONTOS : 64344
REPUTAÇÃO : 2634
Idade : 26
Áreas de atuação : Administrador do fórum
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

https://www.schultzgames.com

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por Pqquim Qua Dez 09, 2015 5:58 pm

Consegui arrumar Marcos <3 ^_^
Pqquim
Pqquim
Iniciante
Iniciante

PONTOS : 2684
REPUTAÇÃO : 1
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por Animdude Qui Fev 18, 2016 11:18 pm

não addiconor o logo do jogo no meu,igul muitos outros
Animdude
Animdude
Membro
Membro

Masculino PONTOS : 2768
REPUTAÇÃO : 1
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por MarcosSchultz Sex Fev 19, 2016 12:11 am

Animdude escreveu:não addiconor o logo do jogo no meu,igul muitos outros
what?

Não entendi nada
MarcosSchultz
MarcosSchultz
Administrador

Masculino PONTOS : 64344
REPUTAÇÃO : 2634
Idade : 26
Áreas de atuação : Administrador do fórum
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

https://www.schultzgames.com

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por Animdude Seg Fev 22, 2016 7:09 pm

Colocar o Logo Do Jogo Tipo Assim  :D,Sem ter Que Por Na Imagem De Fundo com Logo

[TUTORIAL] Como criar o MENU INICIAL 2ni0dbp
Animdude
Animdude
Membro
Membro

Masculino PONTOS : 2768
REPUTAÇÃO : 1
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por MarcosSchultz Seg Fev 22, 2016 7:26 pm

Animdude escreveu:Colocar o Logo Do Jogo Tipo Assim  :D,Sem ter Que Por Na Imagem De Fundo com Logo

[TUTORIAL] Como criar o MENU INICIAL 2ni0dbp


Aconselho ver este tutorial aqui:

https://www.schultzgames.com/t816-tutorial-menu-principal-unity-5-5-3-ou-superior-com-ui#5895


Utilize Canvas para fazer o menu
MarcosSchultz
MarcosSchultz
Administrador

Masculino PONTOS : 64344
REPUTAÇÃO : 2634
Idade : 26
Áreas de atuação : Administrador do fórum
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

https://www.schultzgames.com

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por mtmateus Qua Abr 12, 2017 6:39 pm

meu unity é 5.5.0 tem algum problema ? no script havia falado que Application.loadedlevel é obsoleto, mas quando salvei não deu nenhum erro (obs: ainda não terminei de fazer o script)

mtmateus
Iniciante
Iniciante

PONTOS : 2234
REPUTAÇÃO : 1
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por mtmateus Qua Abr 12, 2017 6:43 pm

meu unity é 5.5.0 tem algum problema ? no script havia falado que Application.loadedlevel é obsoleto, mas quando salvei não deu nenhum erro (obs: ainda não terminei de fazer o script)

mtmateus
Iniciante
Iniciante

PONTOS : 2234
REPUTAÇÃO : 1
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por PauloFR Qua Abr 12, 2017 6:58 pm

mtmateus escreveu:meu unity é 5.5.0 tem algum problema ? no script havia falado que Application.loadedlevel é obsoleto, mas quando salvei não deu nenhum erro (obs: ainda não terminei de fazer o script)

Application.LoadLevel 
Não funciona na 5.5.0 em c#(pelo menos não funcionou aqui),Tente usar o SceneManager.LoadLevel
PauloFR
PauloFR
ProgramadorMaster

Masculino PONTOS : 3568
REPUTAÇÃO : 375
Idade : 20
Áreas de atuação : C++/C# | Modelagem3D | PixelArt2D | Musica
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

https://www.schultzgames.com/u8329

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por MarcosSchultz Sex Abr 14, 2017 7:03 pm

mtmateus escreveu:meu unity é 5.5.0 tem algum problema ? no script havia falado que Application.loadedlevel é obsoleto, mas quando salvei não deu nenhum erro (obs: ainda não terminei de fazer o script)
https://www.schultzgames.com/t816-tutorial-menu-principal-unity-5-5-3-ou-superior-com-ui#5895
MarcosSchultz
MarcosSchultz
Administrador

Masculino PONTOS : 64344
REPUTAÇÃO : 2634
Idade : 26
Áreas de atuação : Administrador do fórum
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL Aad8pUi

https://www.schultzgames.com

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por Yuri Heinz Qui Abr 16, 2020 10:13 pm

fiz umas pequenas alteraçoes no codigo to rodando na unity 2019, adicionei uma variavel para colocar o nome da sena a ser carregada pelo inspector pra não precisar ficar alterando o codigo.
estava iniciando com o aldio e a qualidade grafica no minimo dai comentei algumas linhas de codigo e resolveu,
Código:
using UnityEngine;
using System.Collections;
public class MENU : MonoBehaviour
{
    private AudioListener[] AudioListners;
    public Texture QualidadeGrafica, Resolucoes, ModoJanelaOuTelaCheia, Volume, TexturaCreditos, TexturaFundosMenu, TexturaGraficos;
    private bool EstaNoMenuPrincipal, EstaNosGraficos, EstaNosCreditos;
    public GUIStyle EstiloDosBotoesPrincipais, EstiloDosBotoesGraficos;
    private string ResolucaoLargura = "1024", ResolucaoAltura = "768";
    private float VOLUME = 1.0f;
    private int qualidadeGrafica;
    public Font Fonte;
    public int tamanhoDaLetra = 4;
    public string SeneGamePlay;
    void Awake()
    {
        DontDestroyOnLoad(transform.gameObject);
    }
    void Start()
    {
        EstaNoMenuPrincipal = true;
        Cursor.visible = true;
        Time.timeScale = 1;
        // PREFERENCIAS SALVAS
        if (PlayerPrefs.HasKey("VOLUME"))
        {
            //VOLUME = PlayerPrefs.GetFloat("VOLUME");
        }
        else
        {
          //  PlayerPrefs.SetFloat("VOLUME", VOLUME);
        }
        //
        if (PlayerPrefs.HasKey("qualidadeGrafica"))
        {
          // qualidadeGrafica = PlayerPrefs.GetInt("qualidadeGrafica");
          // QualitySettings.SetQualityLevel(qualidadeGrafica);
        }
        else
        {
          //  PlayerPrefs.SetInt("qualidadeGrafica", qualidadeGrafica);
        }
    }
    void Update()
    {
        //Preencher Arrays
        if (Application.loadedLevelName != "MENU")
        {
            AudioListners = GameObject.FindObjectsOfType(typeof(AudioListener)) as AudioListener[];
            AudioListener.volume = VOLUME;
            Destroy(gameObject);
        }
    }
    void OnGUI()
    {
        GUI.skin.font = Fonte;
        EstiloDosBotoesPrincipais.fontSize = Screen.height / 100 * tamanhoDaLetra;
        EstiloDosBotoesGraficos.fontSize = Screen.height / 100 * tamanhoDaLetra;
        //=============================== SE ESTA NA PARTE PRINCIPAL DO MENU ===================//
        if (EstaNoMenuPrincipal == true)
        {
            GUI.skin.button = EstiloDosBotoesPrincipais;
            GUI.DrawTexture(new Rect(Screen.width / 2 - Screen.width / 2, Screen.height / 2 - Screen.height / 2, Screen.width, Screen.height), TexturaFundosMenu);
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 16, Screen.height / 2 - Screen.height / 5.5f, Screen.width / 8, Screen.height / 14), "Jogar"))
            {
                Application.LoadLevel(SeneGamePlay);// NOME DA CENA DO SEU JOGO
            }
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 16, Screen.height / 2 - Screen.height / 16, Screen.width / 8, Screen.height / 14), "Opçoes"))
            {
                EstaNoMenuPrincipal = false;
                EstaNosGraficos = true;
            }
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 16, Screen.height / 2 + Screen.height / 16, Screen.width / 8, Screen.height / 14), "Creditos"))
            {
                EstaNoMenuPrincipal = false;
                EstaNosCreditos = true;
            }
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 16, Screen.height / 2 + Screen.height / 5.5f, Screen.width / 8, Screen.height / 14), "Sair"))
            {
                Application.Quit();
            }
        }
        //=============================== SE ESTA NA PARTE DOS GRAFICOS DO MENU ===================//
        if (EstaNosGraficos == true)
        {
            GUI.skin.button = EstiloDosBotoesGraficos;
            GUI.DrawTexture(new Rect(Screen.width / 2 - Screen.width / 2, Screen.height / 2 - Screen.height / 2, Screen.width, Screen.height), TexturaGraficos);
            GUI.DrawTexture(new Rect(Screen.width / 2 - Screen.width / 3, Screen.height / 2 - Screen.height / 2.5f, Screen.width / 8, Screen.height / 14), QualidadeGrafica);
            GUI.DrawTexture(new Rect(Screen.width / 2 - Screen.width / 16, Screen.height / 2 - Screen.height / 2.5f, Screen.width / 8, Screen.height / 14), Resolucoes);
            GUI.DrawTexture(new Rect(Screen.width / 2 + Screen.width / 5, Screen.height / 2 - Screen.height / 2.5f, Screen.width / 8, Screen.height / 14), ModoJanelaOuTelaCheia);
            GUI.DrawTexture(new Rect(Screen.width / 2 + Screen.width / 5, Screen.height / 2 - Screen.height / 10, Screen.width / 8, Screen.height / 14), Volume);
            //
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 2.2f, Screen.height / 2 + Screen.height / 2.5f, Screen.width / 8, Screen.height / 14), "VOLTAR"))
            {
                EstaNoMenuPrincipal = true;
                EstaNosGraficos = false;
            }
            //QUALIDADES
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 3, Screen.height / 2 - Screen.height / 4, Screen.width / 8, Screen.height / 14), "PESSIMO"))
            {
                QualitySettings.SetQualityLevel(0);
                qualidadeGrafica = 0;
            }
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 3, Screen.height / 2 - Screen.height / 6, Screen.width / 8, Screen.height / 14), "RUIM"))
            {
                QualitySettings.SetQualityLevel(1);
                qualidadeGrafica = 1;
            }
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 3, Screen.height / 2 - Screen.height / 12, Screen.width / 8, Screen.height / 14), "SIMPLES"))
            {
                QualitySettings.SetQualityLevel(2);
                qualidadeGrafica = 2;
            }
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 3, Screen.height / 2, Screen.width / 8, Screen.height / 14), "BOM"))
            {
                QualitySettings.SetQualityLevel(3);
                qualidadeGrafica = 3;
            }
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 3, Screen.height / 2 + Screen.height / 12, Screen.width / 8, Screen.height / 14), "OTIMO"))
            {
                QualitySettings.SetQualityLevel(4);
                qualidadeGrafica = 4;
            }
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 3, Screen.height / 2 + Screen.height / 6, Screen.width / 8, Screen.height / 14), "FANTASTICO"))
            {
                QualitySettings.SetQualityLevel(5);
                qualidadeGrafica = 5;
            }
            //RESOLUCOES
            ResolucaoLargura = GUI.TextField(new Rect(Screen.width / 2 - Screen.width / 16, Screen.height / 2 - Screen.height / 4, Screen.width / 8, Screen.height / 14), ResolucaoLargura);
            ResolucaoAltura = GUI.TextField(new Rect(Screen.width / 2 - Screen.width / 16, Screen.height / 2 - Screen.height / 6, Screen.width / 8, Screen.height / 14), ResolucaoAltura);
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 16, Screen.height / 2 - Screen.height / 12, Screen.width / 8, Screen.height / 14), "Aplicar"))
            {
                Screen.SetResolution(int.Parse(ResolucaoLargura), int.Parse(ResolucaoAltura), true);
            }
            //TELACHEIA
            if (GUI.Button(new Rect(Screen.width / 2 + Screen.width / 5, Screen.height / 2 - Screen.height / 4, Screen.width / 8, Screen.height / 14), "Trocar"))
            {
                Screen.fullScreen = !Screen.fullScreen;
            }
            //VOLUME
            VOLUME = GUI.HorizontalSlider(new Rect(Screen.width / 2 + Screen.width / 5, Screen.height / 2, Screen.width / 8, Screen.height / 14), VOLUME, 0, 1);
            //SALVAR PREFERENCIAS
            if (GUI.Button(new Rect(Screen.width / 2 + Screen.width / 5, Screen.height / 2 + Screen.height / 3, Screen.width / 8, Screen.height / 14), "SALVAR PREF."))
            {
                PlayerPrefs.SetFloat("VOLUME", VOLUME);
                PlayerPrefs.SetInt("qualidadeGrafica", qualidadeGrafica);
            }
        }
        //=============================== SE ESTA NA PARTE DOS CREDITOS DO MENU ===================//
        if (EstaNosCreditos == true)
        {
            GUI.skin.button = EstiloDosBotoesGraficos;
            GUI.DrawTexture(new Rect(Screen.width / 2 - Screen.width / 2, Screen.height / 2 - Screen.height / 2, Screen.width, Screen.height), TexturaCreditos);
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 2.2f, Screen.height / 2 + Screen.height / 2.5f, Screen.width / 8, Screen.height / 14), "VOLTAR"))
            {
                EstaNoMenuPrincipal = true;
                EstaNosCreditos = false;
            }
        }
    }
}
Yuri Heinz
Yuri Heinz
Avançado
Avançado

Masculino PONTOS : 3006
REPUTAÇÃO : 38
Idade : 26
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por Yuri Heinz Qui Abr 16, 2020 10:19 pm

queria postar uma imagen de como esta ficando o menu mas nao estou conseguindo, ficou muito bonito o menu

Yuri Heinz
Yuri Heinz
Avançado
Avançado

Masculino PONTOS : 3006
REPUTAÇÃO : 38
Idade : 26
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

TUTORIAL Re: [TUTORIAL] Como criar o MENU INICIAL

Mensagem por Snorre Qua Nov 02, 2022 10:28 pm

o objeto está sendo destruído quando eu vou testar, ele nem aparece o menu, sabe como arrumar isso?

Snorre
Iniciante
Iniciante

PONTOS : 145
REPUTAÇÃO : 0
Respeito as regras : [TUTORIAL] Como criar o MENU INICIAL WvDYdlf

Ir para o topo Ir para baixo

Ir para o topo

- Tópicos semelhantes

 
Permissões neste sub-fórum
Não podes responder a tópicos