Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть How to make a BUTTON CALL A FUNCTION inside a Script in Unity - EXIT GAME BUTTON

  • GDT Solutions
  • 2021-10-28
  • 6083
How to make a BUTTON CALL A FUNCTION inside a Script in Unity - EXIT GAME BUTTON
unity3dlearn unityhow to in unityunity quick tipsunity quick tutorialunity how to close gameunity close gameunity exit gameunity close with buttonunity exit with buttonunity exit buttonunity quit buttonunity close buttongamedevtraumunity how to make exit buttonunity how to make quit buttonhow to exit game with button unityunity how to quit game
  • ok logo

Скачать How to make a BUTTON CALL A FUNCTION inside a Script in Unity - EXIT GAME BUTTON бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно How to make a BUTTON CALL A FUNCTION inside a Script in Unity - EXIT GAME BUTTON или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку How to make a BUTTON CALL A FUNCTION inside a Script in Unity - EXIT GAME BUTTON бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео How to make a BUTTON CALL A FUNCTION inside a Script in Unity - EXIT GAME BUTTON

In this video we see how to make an exit button in Unity, the idea is create a system to quit game by pressing a button from the user interface. This video is a remake which includes a way to quit the application even if you are in the Unity Editor, in the old video, when the button was pressed in the game mode nothing happened, with this new code we also exit the game mode which allows us to test the function without the need to compile.

🎁 RELATED DOWNLOAD HERE
https://gamedevtraum.com/en/game-and-...

//This is the begin of the "Exit Game" function that calls the button
//Copy and paste into some control script of yours
//be sure your script is present in the hierarchy
/// Adapt the content of this video to your needs
public void ExitGame()
{

#if UNITY_EDITOR
UnityEditor.EditorApplication.isPlaying = false;
#else
Application.Quit();
#endif

}
//End of the "Exit Game" method

____________________________________________________________
Watch the following repository where I'll be sharing solutions and examples for Unity
👇
https://github.com/GameDevTraum/GDT-S...

https://gamedevtraum.itch.io/

  / gamedevtraum  
____________________________________________________________

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]