Skip to content
Snippets Groups Projects
Commit fcd81c6d authored by Paul-Walcher's avatar Paul-Walcher
Browse files

Updated create fact tutorial

parent 9f576220
No related branches found
No related tags found
No related merge requests found
...@@ -63,8 +63,10 @@ ...@@ -63,8 +63,10 @@
1. Create an Icon-image 1. Create an Icon-image
1.1 Create an icon-image with dimensions: 200x200 and save it into: "Assets\Scripts\InventoryStuff\Items\images" 1.1 Create an icon-image with dimensions: 200x200 and save it into: "Assets\Scripts\InventoryStuff\Items\images"
1.2 Change the "Texture Type" to: "Sprite (2D and UI)", the "Sprite Mode" to "single" and finally the "Pixel per unit" to "256". 1.2 Change the "Texture Type" to: "Sprite (2D and UI)", the "Sprite Mode" to "single" and finally the "Pixel per unit" to "256".
2. Create the prefab for you facticon in: "Assets\Resources\Prefabs\UI\Icons\FactIcons", and drag your created sprite into "Source Image" 2. Create the prefab for you facticon in: "Assets\Resources\Prefabs\UI\Icons\FactIcons" by copying an existing prefab.
3. Open: "Assets\Scenes\Worlds\River World" 2.1 Drag your created sprite into "Source Image"
4. Then search for "DisplayFacts" and open "Factscreen". 2.2 Add or remove additional points associated with your prefab, then edit the variable: "Fact Text" in the script "Fact Object UI".
5. In both factscreens search for the rownumber of your factclass in "Prefabt Type Readonly" (yes, this is the real name not a typo), 4. Open: "Assets\Scenes\Worlds\River World"
5. Then search for "DisplayFacts" and open "Factscreen".
6. In both factscreens search for the rownumber of your factclass in "Prefabt Type Readonly" (yes, this is the real name not a typo),
then drag your created prefab into "Prefab Data Config" into the row with the same rownumber. then drag your created prefab into "Prefab Data Config" into the row with the same rownumber.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment