Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question Exporting Tutorials?

Discussion in 'In-Editor Tutorials Packages' started by WhipJr, May 12, 2021.

  1. WhipJr

    WhipJr

    Joined:
    Aug 3, 2011
    Posts:
    125
    Hey everyone, so I noticed that the ability to export tutorials was moved and I was wondering how I could reasonably give this to someone, say a student for a grade, without them having the ability to skip to the end?

    I noticed that the LEGO example doesn't have the additional authoring menus/options/skips available which means there has to be a way that I've overlooked. Any Tips?
     
  2. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    105
    Hi @WhipJr ! If I've got it right, you want people to access a version of your project that does not include the controls to skip tutorial steps. Is that correct?

    If yes, all you need to do is remove the Tutorial Authoring Tools package from the project that you're sharing. @alikamarainen can probably provide you more info on how to automate this, as he did it for our templates
     
  3. WhipJr

    WhipJr

    Joined:
    Aug 3, 2011
    Posts:
    125
    Yes that sounds about right. so just remove the Authoring package? sounds easy enough! I'll try it out and see how it goes.

    Additionally, are you aware if it's possible to export these projects to an all-encompassing Unitypackage file for easy importing? so far I can't find anything on exporting anything from the package manager into a Unitypackage file. If it's possible, it would make things very easy for students to access the tutorials without having to go through additional steps like decompressing the project files, then adding the project to the hub.

    Thank you.
     
  4. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    105
    Unfortunately, I'm not aware of an official way to do so. However, I found this video some time ago. Maybe it will help!

     
    WhipJr likes this.
  5. Ali-Unity3D

    Ali-Unity3D

    Unity Technologies

    Joined:
    Mar 8, 2021
    Posts:
    16
    The Export Tutorial feature was indeed created originally (a long time ago) for this purpose, but the feature was not utilised for a while and the code became outdated so we had to remove (actually it's not removed, but disabled/hidden) it for now, until we take the proper time to evaluate and fix the functinality. For now, I recommended that you create your tutorials into a common folder, say Assets/Tutorials, which should make it easy to export them as .unitypackage.
     
  6. WhipJr

    WhipJr

    Joined:
    Aug 3, 2011
    Posts:
    125
    This is what I'm currently wanting to do, but the students still have to import the Tutorial Package which isn't ideal or even searchable yet in the Unity Registry list.
     
  7. Ali-Unity3D

    Ali-Unity3D

    Unity Technologies

    Joined:
    Mar 8, 2021
    Posts:
    16
    That's also how the old Export Tutorial feature worked, it simply created a .unitypackage, but it also had some additional logic that searched for additional dependencies (models, shaders, materials, etc.) instead of simply blindly packaging a single folder.

    I think what you are looking for is scoped registries, which is a package manager feature. One can set up their own package repositories, and in this case the packages would be "tutorial packages" (com.mystuff.my-tutorial1 etc.) and the students could search for the tutorial by using the package manager UI.
     
  8. WhipJr

    WhipJr

    Joined:
    Aug 3, 2011
    Posts:
    125
    ohhh i see, so let them import the whole thing at once through scoped registries. ill look into that, thank you!