Giter Site home page Giter Site logo

unity-scene-loader's Introduction

Unity scene loader

Info

  • Unity version 2018.3.8f1
  • Scripting Runtime Version .NET 4.x Equivalent
  • Api Compatibility Level .NET 4.x

Setup

  • Create Empty scene (loader scene)
  • Add scene on the first place into Build Settings
  • Add other scens into Build Settings
  • Add prefab SceneLoader from SLoader/Prefabs into loader scene
  • In inspector of the SceneLoader set First Scene To Load (be sure that scene is in the Build Settings)
  • Let's play
  • For loading any new scene ypu can use SceneLoader.Instance?.LoadScene(<SCENE_NAME_OR_INDEX>);

Example

You can try example located in SLoader/Example. Start scene is SLoader/Example/Scenes/loader.unity

Settings

  • Tip list file is located at Resources/tips.json and you can easily edit it
  • SceneLoader - First Scene To Load: Name of the first scene you want to load
  • SceneLoader - Tip Time: Minimum tip display time (if the scene loading time is too short)
  • SceneLoader - Load From Web: You can load tips from the web. If tip doesn't exist, tips from resources will be used
  • SceneLoader - Url: In the example, I'm using web service from davand.net for getting tips. Yes, this is a to-do list, but it's good enough for example. That to-do is my open source project (SimpleMVC PHP framework). I'm using random of first 15 to-does for tips, so you can edit them on davand.net
  • SceneLoader/LoadingScreen: You can customize loading panel by params on LazyFollow script
  • SceneLoader/Fader: You can customize fading animation duration

unity-scene-loader's People

Contributors

zmalic avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.