Code Monkey home page Code Monkey logo

platformsample-unity's Introduction

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.1.5
PICO Device's System Version ≥5.4.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.

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.

platformsample-unity's People

Contributors

weiyinfu avatar pico-shenjiaqi avatar pico-wangyuping avatar luke-bytedance avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.