How to Translate C# script to Visual Scripting Graph in Unity

Smart Penguins
Smart Penguins
13.1 هزار بار بازدید - پارسال - Converting C# Scripts to Visual
Converting C# Scripts to Visual Scripting: A Step-by-Step Guide

The video shows how to convert C# code into visual scripting. The first step is to create a new class, which is equivalent to creating a script graph. Variables in the C# code become object or graph variables in visual scripting. Private variables in C# become graph variables in visual scripting. Rigid bodies in C# are not necessary to create a variable for because visual scripting will automatically pull the rigid body of the object whenever the rigid body is used. An if statement in C# becomes an if statement in visual scripting with a Boolean input. Nodes can turn yellow if they are missing a required input. The video concludes by showing how to modify a rigid body's velocity.


Support this Channel: Patreon: SmartPenguins



Discord: Discord: discord
Facebook: Facebook: SmartPenguinsIO
Twitter: Twitter: SmartPenguinsIO
Instagram: Instagram: smartpenguins

My PC Build: https://www.amazon.com/hz/wishlist/ls...

Music: http://www.bensound.com


Smart Penguins occasionally links to goods or services offered by vendors. Some of these may be affiliate links, meaning we earn a small commission if items are purchased. As Amazon Associate, we earn from qualifying purchases.
پارسال در تاریخ 1401/12/13 منتشر شده است.
13,195 بـار بازدید شده
... بیشتر