Load level on iOS?

FlowCanvas Forums Support Load level on iOS?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #832
    kong
    Participant

    hello! “Application load level” is not working on iOS??

    Could you let me know how to load other scenses on iOS..

    Thank you~

    Attachments:
    You must be logged in to view attached files.
    #837
    Gavalakis
    Keymaster

    Hello,

    Do you get any errors at all? Do other things work?
    Have you build the AOTClasses.cs file as explained in the ReadMe.txt included in the package?

    Please provide a bit more information 🙂
    Thank you.

    Join us on Discord: https://discord.gg/97q2Rjh

    #839
    kong
    Participant

    Hello,

    I made a simple test Scene. just buttons and flow script.
    Please check out attachment.

    Thank you.^^

    ps. Other project case.
    first time build, It did not work flow script on iPhone. So I just built again with the same build setting.

    Second time build, It worked include other things . but loadLevel button did not work.

    #841
    Gavalakis
    Keymaster

    Hello,

    Thanks. I will take a look a this tomorrow.
    As states in my previous post, please make sure to to build the AOTClasses.cs file through the “Preferred Types Editor” window, as explained in the included ReadMe.txt file of the FlowCanvas package.

    Thanks.

    Join us on Discord: https://discord.gg/97q2Rjh

    #842
    kong
    Participant

    Hello,

    Yes, I generated AOTclasses.cs and link.xml button and saved into ParadoxNotion > FlowCanvas folder.
    then rebuilt again. Did I miss something?

    Thank you for your kind. ^^

    #847
    Gavalakis
    Keymaster

    Hello,

    First of all, please do not include paid assets in publicly posted packages. I had to delete the package attachment for that.

    So, Application.LoadLevel is obsolete (no longer supported by Unity). What you need to use instead is SceneManager.LoadScene.
    To make the SceneManager class appear in FlowCanvas, please open up Preferred Types Editor window and at the top, do a search for “SceneManager” then add the type in the list using the “+” button that will appear on the left.
    Having done this, you will then be able to see and use SceneManager.LoadScene method in the FlowCanvas “Reflected” category menu.

    Let me know if this works for you, or if you need more help in that matter.
    Thanks.

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.