Unity: Difference between revisions

From William Paterson University - Information Technology's Wiki
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
==Activating a Unity License with a Serial Key==
==Activating a Unity License with a Serial Key==
Follow these steps to activate your Unity license using a serial key in Unity Hub:
Follow these steps to activate your Unity license using a serial key in Unity Hub:
# Sign In to Unity Hub
* Sign In to Unity Hub
## Open Unity Hub and create or sign in to your Unity account.
** Open Unity Hub and create or sign in to your Unity account.
# Access License Settings
** Access License Settings
## In Unity Hub, click the gear icon (⚙️) to open Preferences.
** In Unity Hub, click the gear icon (⚙️) to open Preferences.
Select the Licenses tab and click Add License.
**Select the Licenses tab and click Add License.
# Activate with Serial Number
* Activate with Serial Number
## Choose Activate with serial number.
** Choose Activate with serial number.
## Enter your serial number including the dashes (e.g., XXXX-XXXX-XXXX-XXXX).
** Enter your serial number including the dashes (e.g., XXXX-XXXX-XXXX-XXXX).
# Complete Activation
* Complete Activation
## Click Activate to finalize the process.
** Click Activate to finalize the process.


Setting Up Visual Studio Code as the Default IDE in Unity on Windows
==Setting Up Visual Studio Code as the Default IDE in Unity on Windows==
Follow these steps to set Visual Studio Code (or another IDE) as your default script editor in Unity on Windows:
Follow these steps to set Visual Studio Code (or another IDE) as your default script editor in Unity on Windows:
1. Open a Unity Project
* Open a Unity Project
Open an existing Unity project or create a new one via Unity Hub.
** Open an existing Unity project or create a new one via Unity Hub.
2. Open Unity Preferences
* Open Unity Preferences
In Unity, go to the Edit menu at the top and select Preferences.
**In Unity, go to the Edit menu at the top and select Preferences.
3. Set the External Script Editor
* Set the External Script Editor
In the Preferences window, select the External Tools tab.
** In the Preferences window, select the External Tools tab.
Under External Script Editor, use the dropdown to choose Visual Studio Code. (By default, this may be set to “Open by file extension”.)
** Under External Script Editor, use the dropdown to choose Visual Studio Code. (By default, this may be set to “Open by file extension”.)
4. Set a Custom IDE (Optional)
* Set a Custom IDE (Optional)
If your IDE isn’t listed, click Browse… to locate the program manually from your computer.
**If your IDE isn’t listed, click Browse… to locate the program manually from your computer.
Once you’ve selected it, the IDE will appear in the dropdown.
**Once you’ve selected it, the IDE will appear in the dropdown.
5. Finish
* Finish
Close the Preferences window. Now, whenever you open a script from Unity, it will launch in Visual Studio Code (or whichever IDE you selected).
** Close the Preferences window. Now, whenever you open a script from Unity, it will launch in Visual Studio Code (or whichever IDE you selected).

Revision as of 10:19, 14 October 2024

Unity

Unity is a game creation engine that is installed in the computers in Science East 5040. This install is manually managed by the IT Department.

License

The CS department has submitted and been approved for an education license via this form: Unity License Request Form

Accounts Required

Students must Create a Unity ID which has a separate password from the WPU-password. It is to be managed by any individual student.


Activating a Unity License with a Serial Key

Follow these steps to activate your Unity license using a serial key in Unity Hub:

  • Sign In to Unity Hub
    • Open Unity Hub and create or sign in to your Unity account.
    • Access License Settings
    • In Unity Hub, click the gear icon (⚙️) to open Preferences.
    • Select the Licenses tab and click Add License.
  • Activate with Serial Number
    • Choose Activate with serial number.
    • Enter your serial number including the dashes (e.g., XXXX-XXXX-XXXX-XXXX).
  • Complete Activation
    • Click Activate to finalize the process.

Setting Up Visual Studio Code as the Default IDE in Unity on Windows

Follow these steps to set Visual Studio Code (or another IDE) as your default script editor in Unity on Windows:

  • Open a Unity Project
    • Open an existing Unity project or create a new one via Unity Hub.
  • Open Unity Preferences
    • In Unity, go to the Edit menu at the top and select Preferences.
  • Set the External Script Editor
    • In the Preferences window, select the External Tools tab.
    • Under External Script Editor, use the dropdown to choose Visual Studio Code. (By default, this may be set to “Open by file extension”.)
  • Set a Custom IDE (Optional)
    • If your IDE isn’t listed, click Browse… to locate the program manually from your computer.
    • Once you’ve selected it, the IDE will appear in the dropdown.
  • Finish
    • Close the Preferences window. Now, whenever you open a script from Unity, it will launch in Visual Studio Code (or whichever IDE you selected).