Hello, I want to write an extension to automate the insertion of animation into a project. I would like to clarify whether it is possible to access the Create Animation Referece Asset button.
Unfortunately, my skills are not enough to understand how it is called, if it's not difficult to specify the path. I would love to study the code.
I will supplement the appeal, I figured out where the required class is located. When trying to load resources and convert it, the _t field remains empty, unlike the _z field, it is filled in correctly.
Pagina 1 di 1
TheZero
Non hai i permessi necessari per visualizzare i file allegati in questo messaggio.
9 months ago
- TheZero
- Messaggi: 15
Harald
The
SkeletonDataAssetInspector.cs: line 226
SkeletonDataAssetInspector.cs: line 253-279
SkeletonDataAssetInspector
class is for the Unity Inspector UI that is shown when the asset is selected. You can't cast an asset to the UI class. Instead you would need to duplicate the code that is executed when the button is pressed, which can be found here:SkeletonDataAssetInspector.cs: line 226
SkeletonDataAssetInspector.cs: line 253-279
9 months ago
-
Harald - Messaggi: 4459
Mark topic unread
• Pagina 1 di 1
Torna a Unity
- Tutti gli orari sono UTC