了解 Auki 网络和代币经济的基本原理
在 Auki 网络的支持下,获取自己的领域。
深入了解Auki网络白皮书的细节
在Uniswap DEX上交易$AUKI
在MEXC CEX上交易$AUKI
在Aerodrome DEX上交易$AUKI
实时跟踪 Auki 网络的网络状况。
See how the Auki network is empowering robot fleets.
See how the Auki network is enabling AI.
See how the Auki network is enabling XR experiences.
使用ConjureKit,构建第一代社交增强现实体验。
申请高达 100,000 美元 Auki 代币的开发者补助金
了解如何在 posemesh 上使用我们的 SDK 构建应用程序。
所有 ConjureKit SDK 文档和支援。
了解 Cactus 如何提高零售效率。
了解 Gotu 如何协助物业经理工作。
了解 Gotu 导航如何提升您的活动体验。
零售行业的空间人工智能平台。
为活动和物业提供室内导航。
家庭和展览装饰应用。
通过这个同时多人共享的AR体验,让您大获全胜。
看看谁在与Auki一起搭建 posemesh。
深入了解我们的理念。
加入 Discord 对话。
通过 X 随时了解 Auki 社区的最新动态。
Stay up to date with the Auki community on X.
关于 Auki 和 posemesh 的常见问题。
我们的新闻稿、媒体资料工具包和联系方式。
In this chapter, we'll cover how to add and initialize ConjureKit to a new Unity project.
start-warning
We suggest to check which ARFoundation and ARKit/ARCore package versions are installed by Package Manager, as they might not be equal. This is not automatically handled when installing a "Preview" version and mismatch can happen.
end-warning
start-note
ARFoundation versions below 4.2.6 do not support iOS 16.
ARFoundation
end-note
AR Session Origin
ARTrackedImageManager
ReferenceImageLibrary
AR Session
1. Install the ConjureKit package.
2. Create a new ^MonoBehaviour^ script and attach it to an empty game object in the scene.
MonoBehaviour^
3. Import ^ConjureKit^.
ConjureKit^
using Auki.Ur;
4. Create a private ^IConjureKit^.
IConjureKit^.
private IConjureKit _conjureKit;
5. Create a public ^Camera^ variable.
Camera^
public Camera arCamera;
6. Drag the AR Camera to the ^arCamera^ field on the GameObject you created;
AR Camera
arCamera^
7. Initialize ^ConjureKit^ with the app key and secret from the posemesh console (cf. the Quickstart guide)
Never share your app secret with anyone.
8. Call ^_conjureKit.Connect()^ to connect to a Relay server with the lowest latency and create a session.
_conjureKit.Connect()^
using Auki.ConjureKit; public class ConjureKitDemo : MonoBehaviour { public Camera arCamera; private IConjureKit _conjureKit; private void Start() { _conjureKit = new ConjureKit( arCamera.transform, "YOUR_APP_KEY", "YOUR_APP_SECRET"); _conjureKit.Connect(); } }
9. Declare two new ^Text^ fields to display the session ID and session state on screen.
Text^
[SerializeField] private Text sessionState; [SerializeField] private Text sessionID;
10. Register a callback to the ^_conjureKit.OnStateChanged^ event that fires every time our session state changes.
_conjureKit.OnStateChanged^
_conjureKit.OnStateChanged += state => { sessionState.text = state.ToString(); };
11. Register callback to ^_conjureKit.OnJoined^ and ^_conjureKit.OnLeft^ which are triggered when we join and leave a session.
_conjureKit.OnJoined^
_conjureKit.OnLeft^
_conjureKit.OnJoined += session => { sessionID.text = session.Id; }; _conjureKit.OnLeft += session => { sessionID.text = ""; };
12. Create two ^Text^ elements and drag and drop them to the fields you declared in step 8.
13. Click Play in Unity Editor. Now you'll see the state of your connection logged in the console and session id and state on the screen.
申请 AUKI 代币补助金以启动您的项目,并直接与 Auki Labs 团队合作,将您的创意推向市场。成功申请者可获得价值高达 10 万美元的 AUKI 代币,以及 Auki Labs 团队提供的开发和营销支持。