How to... Common Function Library

  Рет қаралды 5,632

Ryan Laley

Ryan Laley

Жыл бұрын

How to use a function library? What are some recommended common functions? How to make getting references quicker?
Welcome to How to... a snack-size video for a snack-size question in Unreal Engine 4.
SUPPORT ME
Patreon I / ryanlaley
Buy Me a Coffee I buymeacoffee.com/RyanLaley
Donations I paypal.me/ryanlaley
PRIVATE 1-2-1 SESSIONS
Email me at support@ryanlaley.com for more information and rates, or visit www.ryanlaley.com/learn-games-...
JOIN THE COMMUNITY
Discord I / discord
FOLLOW ME
Twitter I / ryanlaley
Facebook I / ryanlaleygames
Instagram I / ryanlaleygames

Пікірлер: 14
@FPChris
@FPChris 9 ай бұрын
Awesome.
@FPChris
@FPChris 9 ай бұрын
1:39 is there a way to change the cast to a different BP later without have to fix everything that referenced that original cast?
@Smile1oasis
@Smile1oasis Жыл бұрын
Wonderful, thank you for the tip! 😇
@jorbascrumps
@jorbascrumps Жыл бұрын
Nice tip. I just used this to make a box and line trace utility function.
@KutsalKurt
@KutsalKurt Жыл бұрын
Thanks!
@TheFatTonny
@TheFatTonny Жыл бұрын
Hello, great video - should we somehow handle the cast failed branch in these cases?
@AerixArtGames
@AerixArtGames Жыл бұрын
You could definitely run an is valid check within certain functions to see if the reference is accessible, and then branch off that way inside the function you are doing it in, in your library. It’s a good way to minimize errors and at the same time keep track of valid references.
@vsevolodmetelsky1275
@vsevolodmetelsky1275 Жыл бұрын
So it's basically like extensions methods in Unity\C#. Nice video, great timing: I was just about to go and look for something like this. Thank you! P. S. Do you think it's possible to create a ForEach node for a Map? I'd like to have one so I could iterate though Map just as easy as I can do it with Array.
@michaellutz4154
@michaellutz4154 Жыл бұрын
So can I use this I place of setting up player reffs in all my blueprints
@AerixArtGames
@AerixArtGames Жыл бұрын
Yes, you can create a function in your function library like Ryan did in the video, but instead just cast to your character class and then output it’s reference in that function. Then you can use in any blueprint throughout your project.
@Warmaster2143
@Warmaster2143 Жыл бұрын
You could also use a BP Interface to get access to something
@sharuru01
@sharuru01 Жыл бұрын
I'm using more and more BP Interfaces. It's a more elegant way to interact with multiple actor instead of creating Thousands of "Cast Fail" Chain. Although, I use the BP Function Library as well. It's a great way to use standardized functions within all your different BP. The same goes along with Macros Libraries.
@Warmaster2143
@Warmaster2143 Жыл бұрын
@@sharuru01 yea
@ntvzezestudio2132
@ntvzezestudio2132 Жыл бұрын
I would like to know if your courses are subtitled in Brazilian Portuguese. and if it would be possible to subtitle them into Brazilian Portuguese. here in brazil there is no this type of unreal engine 4 content.
How to... Auto-Jump
5:30
Ryan Laley
Рет қаралды 7 М.
I Struggled With Blueprint Interfaces for Years!! (Unreal Engine 5)
16:48
Glass Hand Studios
Рет қаралды 173 М.
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 3,3 МЛН
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 7 МЛН
Luck Decides My Future Again 🍀🍀🍀 #katebrush #shorts
00:19
Kate Brush
Рет қаралды 8 МЛН
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 54 МЛН
Learning Unreal Engine in One Month to make a Game!
15:25
Will Hess
Рет қаралды 47 М.
UE5 Understanding hard and soft references - Be a better game dev
19:58
Blueprint Best Practices - Pure vs. Impure Functions (Unreal Engine 5)
9:41
Dapper Raptor Development
Рет қаралды 939
Event Dispatchers | Unreal Engine 5 Tutorial
19:09
Tyler Serino
Рет қаралды 25 М.
I went through ALL Unreal Engine Plugins, here is what I found
36:35
Blueprints vs. C++: How They Fit Together and Why You Should Use Both
47:14
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 3,3 МЛН