Use this project as a starting point for developing interactives with AppMana.
- Download the prerequisites.
- Import this repository (
https://github.com/AppMana/unity-starter
) to make a private copy. When prompted to enable Git LFS, say Yes. This lets you use large files in GitHub. You can also fork it for a public copy. - Clone this repository to your computer. Not sure how to do that? Download GitHub Desktop and then clone it there.
- Download Unity. You will need to install the latest version of Unity 2021.3. Need help? Watch this tutorial.
- Import this repository (
- Work on your project.
- Open the Game scene in
Assets/Scenes/SampleScene.unity
- Make your changes. Look carefully at the hierarchy. Delete the sample content and re-enable the appropriate objects. The objects you need are labeled.
- Do you need something to happen when the player connects to your stream? Add methods to On Player Connected on the Main Camera's Remote Playable Configuration component.
- Do you need to use inputs? You can't use anything in
Input.
, likeInput.mousePosition
. Instead, usePointer.current?.position.ReadValue() ?? Vector2.zero
. See here for migration tips. - Commit and push your changes.
- Whenever you push your changes to your fork, your link will update automatically with a new build.
- Open the Game scene in
- Get your project live. Join our Discord and message us to build your forked repository. You will receive a URL with your project. You can also sign up at appmana.com.
- Unity 2021.3 LTS.
- Use the ScreenView and MaterialScreen components to easily add and edit screens to your user interface.
- Use CineMachine to set up your cameras.
- Use UniRx to make your user interface reactive.
- Use UniTask instead of coroutines for more control over your creative.
- You must use InputSystem (
"com.unity.inputsystem": "1.3.0"
).Input.mousePosition
and other legacy input approaches are not supported. See here for migration tips. - Do not use Screen properties. There is no physical display when streaming.
- You cannot use overlay canvases. Use Camera Space in your canvases.