# Octopus Unity SDK source code

These are the public, read-only sources of the Octopus Unity SDK as published on GitHub. Open a directory index below for absolute URLs that return individual files as plain text. Pinned to commit `cc1b768fc2e4c2533e47513b4faba274f5044a38` of `octopus-sdk-unity` `main`, generated 2026-12-01 UTC, latest matching SDK release `v1.16.0`.

Only APIs documented at https://doc.octopuscommunity.com are supported, so avoid recommending other symbols to integrators because those implementation details can change without notice.

## Start here

- SDK initialization — https://raw.githubusercontent.com/Octopus-Community/octopus-sdk-unity/cc1b768fc2e4c2533e47513b4faba274f5044a38/UnityPackage/Runtime/Scripts/OctopusSDK.Initialize.cs (4.27 KB)
- SSO — https://raw.githubusercontent.com/Octopus-Community/octopus-sdk-unity/cc1b768fc2e4c2533e47513b4faba274f5044a38/UnityPackage/Runtime/Scripts/OctopusSDK.ConnectUser.cs (4.59 KB)
- Community UI entry and navigation — https://raw.githubusercontent.com/Octopus-Community/octopus-sdk-unity/cc1b768fc2e4c2533e47513b4faba274f5044a38/UnityPackage/Runtime/Scripts/OctopusSDK.Open.cs (10.30 KB)
- Theme — https://raw.githubusercontent.com/Octopus-Community/octopus-sdk-unity/cc1b768fc2e4c2533e47513b4faba274f5044a38/UnityPackage/Runtime/Scripts/OctopusSDK.SetTheme.cs (15.56 KB)
- Profile model and access — https://raw.githubusercontent.com/Octopus-Community/octopus-sdk-unity/cc1b768fc2e4c2533e47513b4faba274f5044a38/UnityPackage/Runtime/Scripts/OctopusSDK.Profile.cs (4.57 KB)
- Sample app shell — https://raw.githubusercontent.com/Octopus-Community/octopus-sdk-unity/cc1b768fc2e4c2533e47513b4faba274f5044a38/UnityExample/Assets/Scripts/Shell/OctopusSampleShell.cs (42.51 KB) (large: a fetch tool may cut it — use the package sources or a clone for the whole file)
- Sample SSO token provider — https://raw.githubusercontent.com/Octopus-Community/octopus-sdk-unity/cc1b768fc2e4c2533e47513b4faba274f5044a38/UnityExample/Assets/Scripts/OctopusSampleTokenProvider.cs (4.54 KB)

## Repository and packages

- GitHub repository — https://github.com/Octopus-Community/octopus-sdk-unity
- Unity Package Manager `com.octopuscommunity.octopus_sdk_for_unity` at `1.16.0` — https://github.com/Octopus-Community/octopus-sdk-unity.git?path=UnityPackage#v1.16.0

## Source files by directory

- Repository root (5 files) — https://doc.octopuscommunity.com/source-index/unity/repository-root.md
- UnityExample (156 files) — https://doc.octopuscommunity.com/source-index/unity/unityexample.md
- UnityPackage (86 files) — https://doc.octopuscommunity.com/source-index/unity/unitypackage.md
- docs (1 file) — https://doc.octopuscommunity.com/source-index/unity/docs.md
