Skip to content

jwtan/Tanks-Tutorial-Multi-Screen-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tanks! Tutorial Multi-Screen Example

This example project is built upon the Tanks! Tutorial project and demonstrates how to implement simple multi-screen functionality by rendering the overhead camera to a second display.

This project was tested on the ASUS ROG Phone II with TwinView Dock II.

Rendering to a specific display was easily achieved by using Camera.SetTargetBuffers with a target display found in Display.displays. More information about Multi-Display support can be found in the official documentation.

Project Details

  • Unity version: 2019.3.2f1
  • Platform: Android

Project Layout

  • Assets/_Multi-Screen/ This folder contains most of the project files (code, prefabs, scenes etc.)
  • Assets/Scripts/Managers/TankManager.cs This original Tanks! Tutorial script was edited to insert some setup code

Video Example

Watch the video

Special Thanks

Virtual Plug and Play Joystick on the Unity Asset Store

About

Example of Multi-Screen functionality using the Tanks! Tutorial project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published