diff --git a/DOC/create_fact.md b/DOC/create_fact.md index 6324cd4da47b4b805becdfadfcd18b58e35b51ab..8083ce06d93e876a17919df4d51f1941ce06ba29 100644 --- a/DOC/create_fact.md +++ b/DOC/create_fact.md @@ -60,5 +60,11 @@ 7. Create an Icon for your Fact - 1. Create an icon-image with dimensions: 200x200 and save it into: "Assets\Scripts\InventoryStuff\Items\images" - 2. \ No newline at end of file + 1. Create an Icon-image + 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". + 2. Create the prefab for you facticon in: "Assets\Resources\Prefabs\UI\Icons\FactIcons", and drag your created sprite into "Source Image" + 3. Open: "Assets\Scenes\Worlds\River World" + 4. Then search for "DisplayFacts" and open "Factscreen". + 5. 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. \ No newline at end of file