Local multiplayer and split-screen functionality is much easier to implement than networked multiplayer. Unity's new input system makes it even easier with the built-in tools and components. Multiple Cinemachine cameras can also be used. C# events can be used to react to players joining or leaving.
Tutorial Code: https://github.com/onewheelstudio/Adv...
Tutorial Blog Post: https://onewheelstudio.com/blog/2022/...
CodeMonkey Video (go to minute 9:00): • Unity Layers, Layer Mask, Bitmask, Bi...
Assets Used in the Video (Affiliate)
************************************
Low Poly Megapolis: https://assetstore.unity.com/packages...
Toony Tiny People: https://assetstore.unity.com/packages...
Want to support the Channel?
*******************************
Shop the Unity Asset Store (affiliate): https://assetstore.unity.com/top-asse...
Become A Channel Member: / @onewheelstudio
Or a Patron: / onewheelstudio
My video and streaming kit: https://kit.co/onewheelstudio/tutoria...
Buy a Game Design Book: https://kit.co/onewheelstudio/game-de...
Video Gear List (Amazon Affiliate)
***********************************
Sony A6100 Camera: https://amzn.to/32logXz
Sigma 16mm 1.4 Camera Lens: https://amzn.to/3KA4Wr4
GoXLR (audio interface): https://amzn.to/35dmr03
Shure SM7B Mic: https://amzn.to/3fNbV1E
Blue Mic Arm: https://amzn.to/3tHgwdQ
Neewer Light: https://amzn.to/3rD8eRv
Light Softbox: https://amzn.to/3GUaHgQ
Neewer RGB Light: https://amzn.to/3rCTQJ9
Other Links
************
Discord: http://discord.onewheelstudio.com
Twitter: / onewheelstudio
Devlog: https://onewheelstudio.com/
Twitch: / onewheelstudio
Timestamps
*************
0:00 Intro
1:29 The Basics
2:45 Initial Setup
4:26 Split Screen
5:49 Connection Controls
7:18 On Player Join
9:10 Toggling Objects
10:02 Cinemachine Cameras
12:14 Cinemachine Input Handler
13:20 THE END
#GameDevelopment #Unity3D #indiedeveloper
Смотрите видео Local Multiplayer and Split-Screen - New Input and Cinemachine онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь One Wheel Studio 14 Февраль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 30,315 раз и оно понравилось 733 людям.