Difference between revisions of "Files, Content and Layout"
(→Layout) |
|||
Line 4: | Line 4: | ||
Before going through this article, here few things that you should take as rules. | Before going through this article, here few things that you should take as rules. | ||
When any file or GameObject has as both prefix and suffix the character " | When any file or GameObject has as both prefix and suffix the character "_" it means that you should never rename the file/GameObject because its name is used in scripts, and editing it would need editing the scripts as well. | ||
There are few files that are like that, here are some examples: | There are few files that are like that, here are some examples: | ||
* "_WoldLoader_" (SceneAsset) | * "_WoldLoader_" (SceneAsset) | ||
* " | * "_MainMenu_" (SceneAsset) | ||
* "_HeadPos_" (GameObject | * "_HeadPos_" (GameObject | ||
Revision as of 09:22, 12 February 2022
In this page we will analyze a bit the content, files and the layout of the RPG Creation Kit.
Some Rules & Recommendations
Before going through this article, here few things that you should take as rules.
When any file or GameObject has as both prefix and suffix the character "_" it means that you should never rename the file/GameObject because its name is used in scripts, and editing it would need editing the scripts as well.
There are few files that are like that, here are some examples:
- "_WoldLoader_" (SceneAsset)
- "_MainMenu_" (SceneAsset)
- "_HeadPos_" (GameObject
The RPG Creation Kit contains a lot of different files most of which are Scriptable Objects, those can be Items, Weapons, Dialogues, Quests, BehaviourTrees, or other files, in general, they're prefixed by square parenthesis [], like the following files:
- [AMMO] IronArrow
- [ARMOR] Clothes1_Vest
- [QUEST] Judge, Jury, And Executioner
- [CELL] CityInterior
It is always a good idea to have expressive names and to keep the project clean, using folders and organizing the files in a good way. The Editor Windows that the RPG Creation Kit contains are extremely useful and will help you a lot, but when the project will grow if your files are scattered all around it will be difficult to find stuff quickly and efficiently.
Layout
In the Installation we've set the Layout of the RPG Creation Kit as this:
You will see that other than the default Unity's windows, there are three new ones:
Those three windows will be a fundamental part of the workflow, as they will allow you to perform actions that would be otherwise trivial and slow on the long run. I suggest you read the three pages linked above.