Unity Netcode For Gameobject - Networked Raycast

Опубликовано: 05 Октябрь 2024
на канале: Carl Boisvert Dev
1,903
42

In this video, we take a look into implementing a little puzzle where two players need to push a button at the same time to open a door.

This is part of a series so make sure you follow the rest before looking at this one if you want to follow along.

If you want to talk more or get some help, join our Discord server! Links is in the channel banner!

00:00 - Intro
00:58 - Scene setup
02:53 - Door refactoring
04:14 - Button door
12:51 - Update input action
13:41 - Raycast
19:48 - Add scripts to scene
22:01 - Fix door behavior
24:40 - Demo
25:47 - Outro