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. Dismiss Notice

Resolved Level Design engine outside of unity

Discussion in 'General Graphics' started by Crazybrownie204, Nov 11, 2021.

  1. Crazybrownie204

    Crazybrownie204

    Joined:
    Mar 22, 2021
    Posts:
    23
    Is there a way I can make a level using another computer, and then import that into unity? Any help would be greatly appreciated.
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,238
    Sure.

    But why?


    Though it also depends a lot on what you mean by "level". If you're talking about just the scene geometry, you can already do that by building the entire level in an external 3D modelling tool and importing it into Unity as an fbx or blend file.

    If you want something that can do more, you could certainly write some tool that exports files that you then parse yourself with a custom import script for Unity to re-construct the level inside of Unity. There's very little limit to what you can't do outside of Unity if you want to take the time to write your own importers. You could even make this kind of thing work such that you could import levels into a standalone build of a Unity project rather than the editor, if the project had the necessary scripts to do the importing. It just requires the Unity project already has all of the necessary assets / scripts to make sense of and make use of the level data you're trying to import.

    You could even reverse engineer Unity's scene and asset files so you could have a tool directly output to files Unity could open directly rather than importing. They're mostly straight YAML data, so it's not terribly difficult, though for asset generation you'd probably still want to stick to the usual fbx / png files. This wouldn't let you import a level into a standalone build though if that's what you're after.
     
  3. Crazybrownie204

    Crazybrownie204

    Joined:
    Mar 22, 2021
    Posts:
    23
    Thank you, that solved my problem.