기술 자료

Unity Studio

Open Unity Studio

Unity Studio

When node

Trigger the node when a specific event occurs, such as when the scene starts or when a user clicks on an object.
읽는 시간 1분최근 업데이트: 3일 전

Use the When node to listen for specific events in your Logic script. When the specified event occurs, the node triggers and allows connected nodes to execute. Attach an Event node to listen for when that event fires. For example, you can use the Key Pressed node to listen for key presses.

Sockets

Socket

Type

Description

Condition
bool, Event
The event to listen for. For example, Key Pressed, Collision. When the event returns true, the connected nodes execute.
Event
Event
(output)
Connect the node you want to trigger when the Condition returns true.