浏览代码

Merge pull request 'updated repo' (#1) from main/marcusl into main

Reviewed-on: https://plastichub.unity.cn/unity-tech-cn/BoatAttack-AutoStreaming/pulls/1
/main
marcusl@unity3d.com 4 年前
当前提交
df5df8f5
共有 3 个文件被更改,包括 43 次插入107 次删除
  1. 51
      Packages/packages-lock.json
  2. 2
      ProjectSettings/PackageManagerSettings.asset
  3. 97
      README.md

51
Packages/packages-lock.json


"com.unity.modules.unitywebrequest": "1.0.0",
"com.unity.modules.unitywebrequestassetbundle": "1.0.0"
},
"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.autostreaming": {
"version": "0.1.0-preview.1",

"com.unity.autostreaming.ccd": "0.1.0-preview.1"
},
"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.autostreaming.ccd": {
"version": "0.1.0-preview.1",

"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.build-report-inspector": {
"version": "0.2.2-preview",

"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.burst": {
"version": "1.5.4",

"com.unity.mathematics": "1.2.1"
},
"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.cinemachine": {
"version": "2.6.0",

"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.editorcoroutines": {
"version": "1.0.0",

"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.ext.nunit": {
"version": "1.0.6",

"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.ide.rider": {
"version": "2.0.5",

"com.unity.test-framework": "1.1.1"
},
"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.ide.visualstudio": {
"version": "2.0.8",

"com.unity.test-framework": "1.1.9"
},
"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.ide.vscode": {
"version": "1.2.3",

"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.inputsystem": {
"version": "1.0.2",

"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.mathematics": {
"version": "1.2.1",

"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.memoryprofiler": {
"version": "0.2.9-preview.3",

"com.unity.editorcoroutines": "1.0.0"
},
"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.plasticscm-cn": {
"version": "1.2.1-preview",
"depth": 0,
"source": "registry",
"dependencies": {},
"url": "https://packages-v2.unity.cn"
},
"com.unity.render-pipelines.core": {
"version": "7.5.3",

"com.unity.ugui": "1.0.0",
"com.unity.modules.physics": "1.0.0"
},
"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.render-pipelines.universal": {
"version": "7.5.3",

"com.unity.render-pipelines.core": "7.5.3",
"com.unity.shadergraph": "7.5.3"
},
"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.scriptablebuildpipeline": {
"version": "1.19.0",

"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.shadergraph": {
"version": "7.5.3",

"com.unity.render-pipelines.core": "7.5.3"
},
"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.terrain-tools": {
"version": "3.0.2-preview.3",

"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.test-framework": {
"version": "1.1.24",

"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
},
"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.textmeshpro": {
"version": "2.1.6",

"com.unity.ugui": "1.0.0"
},
"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.timeline": {
"version": "1.2.18",

"com.unity.modules.audio": "1.0.0",
"com.unity.modules.particlesystem": "1.0.0"
},
"url": "https://packages.unity.cn"
"url": "https://packages-v2.unity.cn"
},
"com.unity.ugui": {
"version": "1.0.0",

2
ProjectSettings/PackageManagerSettings.asset


m_Registries:
- m_Id: main
m_Name:
m_Url: https://packages.unity.cn
m_Url: https://packages-v2.unity.cn
m_Scopes: []
m_IsDefault: 1
m_UserSelectedRegistryName:

97
README.md


**_Note:This repository uses GitLFS, to use this repo you need to pull via Git and make sure GitLFS is installed locally_**
**_Note:This repository is forked from [Boat Attack](https://plastichub.unity.cn/unity-tech-cn/BoatAttack) and converted Unity editor version to China edition: `2019.4.28f1c1`(and above versions) to enable Auto-Streaming capability.
**To use this repo to try out Auto-Streaming you need to**:
1. Fork this repo
2. Click "Open in Unity Hub" button on the repo page (or find & clone it to your local workspace by Unity Hub -> Plastic cloud project tab)
3. Open it by Unity `2019.4.28f1c1` or above version
4. Open Auto-Streaming package window in Unity editor and check "Use Auto-Streaming"
5. Fill in your CCD account and project infomation in CCD configuration tab
6. Select build platform and build
# Boat Attack
###### Demo Project using the Universal RP from Unity3D
China Unity team hope you enjoy Auto-Streaming!
* For more details please check out [Auto-Streaming documentation](https://docs.unity.cn/cn/Packages-cn/com.unity.autostreaming@0.1/manual/)
* If you want to have further connection with us, please join Auto-Streaming technical communication group(QQ: 628540768)
This Unity project has been created to aid the testing and development of Universal RP. The project is a small vertical slice of a boat racing game, complete with race-able boats and island environment.
Feel free to post any issues, but know this is a 'as is' repo, it's meant more for discovery of how some of the Universal RP features work and a learning resource for some tricks.
**Project Features**:
* Uses Universal RP from Unity
* Mobile optimized, low poly, LODs, no compute
* C# Jobs buoyancy system
* Cinemachine camera setups
* Shader Graph usage
* Post-processing v3 with Volume blending
* Addressables asset management package
* Custom Universal RP rendering for planar reflections via [SRP callbacks](https://docs.unity3d.com/ScriptReference/Rendering.RenderPipelineManager.html)
* Custom SciptableRenderPass usage for WaterFX and Caustics
* Gerstner based water system in local package(WIP)
* Much more..
[Demo Footage](https://drive.google.com/file/d/1PTNdhnqbhzSWUCfAinIefP5cfr6Dezuw/view)
# Usage
#### Getting the project
via Git:
1. Make sure you have GitLFS installed, check [here](https://git-lfs.github.com) for details.
2. Clone the repo as usual via cmd/terminal or in your favourite Git GUI software.
3. Checkout the branch that matches the Unity verison you are using, eg `release/2019.4`
Downloadable zips:
1. [2019.4 Project (Unity 2019.4.2f1)](https://drive.google.com/file/d/19SRLm_jp9z0yeDgmHpwBdGaPShwc4FDW/view?usp=sharing)
#### Load the project:
Once you have the project files locally you can load the project, ideally in the Unity version that is noted in the `ProjectSettings/ProjectVersion.txt` for the best experience.
Upon loading the project will display a small welcome screen with some buttons to load starting scenes.
Scenes worth noting:
- `scenes/main_menu.unity` - Starting menu scene if you want to have a full play-through of the demo.
- `scenes/demo_island.unity` - Setup to play in the editor and go straight into an AI based race.
- `scenes/_levels/level_Island.unity` - The scene loaded when entering from the main menu.
- `scenes/Testing/***.unity` - Assorted test scenes, these are in need of updating and come as is.
#### Build the project:
One thing to make sure you do before building is make sure to build the addressable assets, this can be done via the addressables window, for more information please checkout the addressables [package documentation](https://docs.unity3d.com/Packages/com.unity.addressables@latest).
Once the addressable assets are built you can continue to build a player as usual.
One thing to mention is not all controls and platforms have been tested, especially for the menu work. if you want to just see the project running on a device you can add the `scenes/demo_island.unity` scene to the build list and disable/remove the others.
# Todo
As this project is on going there is a lot more left that needs to be worked on, so I repeat this is not a resource for production ready workflow ideas or systems and lots of it was put together very quickly.
Some of the things left to do:
* Make water system more modular and improve UX
* Improve boat AI
* Add imposter rendering for vegetation
* Cleanup menu system to switch between Demoing/Playing/Benchmarking
* Implement Unity Physics
* Optimize cross platform performance and stability
* Continue code cleanup
* Wiki explaining features/systems in more depth
* Add more sizzle....
![Sunny Island](https://gdurl.com/STO1)
# Credits
[Andre McGrail](http://www.andremcgrail.com) - Design, Programming, Modeling, Textures, SFX
[Alex Best](https://big_ally.artstation.com) - Modeling, Textures
[Stintah](https://soundcloud.com/stintah) - Soundtrack
Special thanks to:
[Felipe Lira](https://github.com/phi-lira) - For Making Universal RP & LWRP
[Tim Cooper](https://github.com/stramit) - Assorted SRP code help
And thanks to many more who have helped with suggestions and feedback!
# Notes
*Make sure you clone the repo as downloading the zip will not contain the GitLFS files(all textures/meshes etc)
正在加载...
取消
保存