Skip to content

Social SDK: Updated Unity Install Instructions #7544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docs/discord-social-sdk/getting-started/using-unity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ A Unity sample project is available for download on this page, but we are not go
Let's set up your Unity project to include the Social SDK package and add the necessary objects and scripts to use it.

1. Create a new 2D project in Unity Hub using Unity version 2021.3 or later
2. Open **Window > Package Manager**
3. Click **+ > Add package from tarball...**
4. In your project add a `Scripts` folder and create a `DiscordManager.cs` script
5. Add the following code to `DiscordManager.cs`:
2. Either:
1. Unzip the zip file in the `Packages` folder, or
2. Unzip the zip file to a temporary location, and [Install Package from Disk](https://docs.unity3d.com/Manual/upm-ui-local.html) from the temporary location.
3. In your project add a `Scripts` folder and create a `DiscordManager.cs` script
4. Add the following code to `DiscordManager.cs`:
```cs
using UnityEngine;
using UnityEngine.UI;
Expand Down