Unity Resources Folder (Special Folder)

Veröffentlicht am: 18 Mai 2021
auf dem Kanal: Indie Wafflus
16,166
137

Let's talk about the Unity "Resources" Special Folder.

It allows us to load assets in a simple way.

________________________________________________________

Timestamps:

00:00 Introduction
00:17 Resources Load Method
00:27 Resources Folder
01:32 Creating an Editor Window for showcasing
01:59 Creating the Resources Folders
02:32 Creating a second stylesheet
02:46 Editing our stylesheets
03:16 Creating a button
03:35 Loading stylesheets using the Resources Load Method
05:43 Adding the stylesheet to the button
06:04 Seeing the loaded stylesheet in the Editor
06:28 Resources LoadAll Method
06:51 EditorGUIUtility Load Method
07:28 Editor Default Resources Folder
07:39 Moving and renaming stylesheets
07:54 Swaping to the EditorGUIUtility Load Method
08:15 Editor Window not opening possible fix
08:26 Stylesheet showing and swapping for error
08:46 Outro

________________________________________________________

Useful links:

● Resources Source Code (Unity Github): https://github.com/Unity-Technologies...
● Resources Folder Best Practices (Unity Learn Tutorial): https://learn.unity.com/tutorial/asse...
● Adressables (Unity Documentation): https://docs.unity3d.com/Packages/com...
● Resources Folder (Unity Forum Reply): https://forum.unity.com/threads/handl...
● Special Folders (Unity Documentation): https://docs.unity3d.com/Manual/Speci...
● Resources Load Method (Unity Documentation): https://docs.unity3d.com/ScriptRefere...
● EditorGUIUtility Load Method (Unity Documentation): https://docs.unity3d.com/ScriptRefere...
● Loading Resources at Runtime (Unity Documentation): https://docs.unity3d.com/Manual/Loadi...
● AssetDatabase (Unity Documentation): https://docs.unity3d.com/ScriptRefere...
● Editor Special Folder (Tutorial):    • Unity Editor Folder (Special Folder)  

________________________________________________________

● Subscribe:    / @indiewafflus  

● Follow me on Twitter:   / indiewafflus  

________________________________________________________


Auf dieser Seite können Sie das Online-Video Unity Resources Folder (Special Folder) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Indie Wafflus 18 Mai 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 16,166 Mal angesehen und es wurde von 137 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!