Unity插件 – 自适应分屏 Adaptive Split Screen

File size: 10.7 MB

Version: 1.2.0

Original Unity Version: 2019.4.35 or later

This package contains a fast and lightweight solution for split screens that is developed with DOTS in mind, so it leverages Unity’s latest technology stack such as SIMD Mathematics, Jobs and the Burst compiler.

and

are recommended for cooperative games. Especially if the world is not small and the players are far away from each other.

and

are novel split-screen solutions based on voronoi diagrams. People can think of it as an extension of traditional dynamic split screens, which can accommodate up to 4 players.

key behavior

fairness-every player has options for similar screen areas. Centering-An option for each player to center in their screen area. Indication direction-Each division indicates the direction of other players. Fusion-Once player screen areas are close enough, they can be merged.

This package is designed to be easy to customize and is suitable for backgrounds from artists to developers. The

API has four layers of

SplitScreenEffect-the main MonoBehaviour component for applying split screen effects on cameras. Modifier-A custom MonoBehaviour component used to modify the SplitScreenEffect logic. SplitScreen4, SplitScreen3, and SplitScreen2-The structure used to generate split screen effects. VoronoiBuilder, VoronoiDiagram-The structure used to generate voronoi diagrams from a site.