UAnimMontage reference in code
Hi! I'm trying to make reference to UAnimMontage in code. I was trying with
but it will crash or won't compile. I've found that not only I have problem with this. Any help?
asked Aug 04 '15 at 06:08 PM in C++ Programming
I avoid directly binding to content this way in code. The reason is that you have less control of overriding the content and it can adversely affect your startup times. Any code referenced that way is immediately loaded and anything that references and so on. IMO, a better way is to create a TAssetPtr and then let a Blueprint subclass specify the desired content. Then you can control when that content is loaded by using sync/async loading. There is some good documentation on async loading and in other posts on our Answers site
answered Aug 04 '15 at 07:07 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here