Unity Tutorial - 3D Spinning Cube in 10 minutes

Build the cube

Now, you're ready to export the game into an executable application.

  • On the Unity main menu, choose File > Build Settings.

  • Select the Add Open Scenes button to add the scene you just created.

  • By default, you'll see that the Platform is set to PC, Mac & Linux Standalone on the left. You can change the Target Platform further to choose the machine you're trying this tutorial on. When ready, select the Build and Run button. Save the executable application to your Desktop.

    The build dialog in the Unity editor

    The build dialog in the Unity editor

    The build process starts.

  • On the Unity main menu, choose File > Build Profiles.

  • Select the Open Scene List button to add the scene you just created.

  • By default, you'll see the macOS Platform is set to active. You can change the Target Platform further to choose the machine you're trying this tutorial on. When ready, navigate to the macOS platform in the left menu and select the Build and Run button. Save the executable application to your Desktop.

    The build dialog in the Unity editor

    The build dialog in the Unity editor

    The build process starts.

  • If the build process was a success, you should see the application running with the rotating cube. Press Alt+Enter to exit full screen.

  • If the build process was a success, you should see the application running with the rotating cube. Press CMD+F to exit full screen.

Continue