Skip to content

Pico-Developer/PlatformSample-Unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PICO Integration SDK is the main SDK for PICO development.It consists of XR SDK and Platform SDK.
This repo contains samples demonstrating the usage of the Platform SDK.

Requirement

Environment Version
Unity Editor ≥2020.3 ≤2022.3
PICO Unity Integration SDK ≥2.4.0
PICO Device's System Version ≥5.8.0

SampleList

Sample Module&Doc Description
AsyncSimpleDemo Core Show the async/await style API usage.
UserDemo User Show the account,friends API usage.
PresenceDemo Social Show the friends,presence API usage.
InviteDemo Social A 3D Demo for presence inviting API usage.
RtcDemo RTC Show the RTC API usage.
Challenges Challenge Show the challenge API usage.
GameAPITest Game Show the room,matchmaking,achievement,leaderboard API usage.
RoomAndMatchmakingEntry Room Show the room,matchmaking API usage.
IAP IAP Show the IAP API usage.You can view the products and purchase products in an app.
IAP/DLC DLC Show the DLC API usage.
RtcMessage RTC SendRoomMessage/SendUserMessage/SendStreamSyncInfo.
RtcStream RTC Publish/UnPublish RTC Stream.
SmallRTC RTC The minimized demo to use RTC.
SportCenter Sport Show the API usage to communicate with the SportCenter.
SpeechDemo Speech-to-text Show the speech-to-text API usage.
HighlightDemo Highlights Show highlights API usage.
CloudStorageDemo Cloud storage Show Cloud storage API usage.

We will introduce some example in the below.

UserDemo has three part. The first part shows the command and function. The second part is the input area. The last part shows the result of the function.

Before using RTC demo,you should enable RTC service in the developer center. Input the userId,roomId and click JoinRoom button. The user id can be decide by yourself,such as '1'.
After joined room,click the Publish button in the roomList. And enable AudioCapture in the EngineConfig area. If another person is in the same room, he/she can hear from you.

IAP demo has two part. The left is the product list. The right part is the purchased product list.

The sport center module has three methods:GetUserInfoGetSummaryGetDailySummary. The SportCenter demo can be used to call these API and get results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages