Giter VIP home page Giter VIP logo

Comments (2)

tzutzu858 avatar tzutzu858 commented on June 20, 2024

錯誤訊息:
couldn't be loaded because it has not been added to the build settings or the AssetBundle has not been loaded.
To add a scene to the build settings use the menu File->Build Settings...
UnityEngine.SceneManagement.SceneManager:LoadScene(String)
ClearDirector:Update() (at Assets/ClearDirector.cs:12)

原因:因為場景沒被註冊
所以要先註冊 「場景的使用順序」

File/Build Settings/把所有場景拖拉到Scenes In Build欄
這個動作很像Android studio在manifest多加activity,但忘記當時的錯誤訊息是什麼了

from jump.

tzutzu858 avatar tzutzu858 commented on June 20, 2024

裝置間的速度差異

高性能PC一秒可以呼叫60次Update方法
而性能較低的手機可能一秒只能呼叫20次Update方法

假設Update設定讓角色往右移動「x=1」
PC一秒可以到達「x=60」的位置
而手機可能只能到達「x=20」的位置

裝置間的差異,可以使用Time.deltaTime設定一秒後的移動地點來解決問題

from jump.

Related Issues (4)

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.