Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FrameWorld
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FrameIT
FrameWorld
Commits
22e60ff7
Commit
22e60ff7
authored
9 months ago
by
mariuskern
Browse files
Options
Downloads
Patches
Plain Diff
doc
parent
d7e9ce1e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DOC/create_fact.md
+10
-1
10 additions, 1 deletion
DOC/create_fact.md
with
10 additions
and
1 deletion
DOC/create_fact.md
+
10
−
1
View file @
22e60ff7
...
@@ -57,7 +57,7 @@ In all Array-like structures, always add your facts at the bottom.
...
@@ -57,7 +57,7 @@ In all Array-like structures, always add your facts at the bottom.
2. Create a spawn method for your fact.
2. Create a spawn method for your fact.
3. In SpawnFactRepresentation add your Fact to the switch-case statement
3. In SpawnFactRepresentation add your Fact to the switch-case statement
5.
In the Unity Editor in Assets
\R
essources
\P
refabs
\F
acts create the prefab for your Fact.
5.
In the Unity Editor in Assets
\R
essources
\P
refabs
\F
acts create the prefab for your Fact.
6.
Connect your Prefab to the FactSpawner class
6.
Connect your Prefab to the FactSpawner class
...
@@ -67,6 +67,15 @@ In all Array-like structures, always add your facts at the bottom.
...
@@ -67,6 +67,15 @@ In all Array-like structures, always add your facts at the bottom.
4. In Hirarchy select WorldCursor and add your Fact Prefab into the Inspector.
4. In Hirarchy select WorldCursor and add your Fact Prefab into the Inspector.
5. Alternative to 6.2 & 6.3: in hirarchy search: "ref:Assets/Scripts/InteractionEngine/FactHandling/FactSpawner.cs"
5. Alternative to 6.2 & 6.3: in hirarchy search: "ref:Assets/Scripts/InteractionEngine/FactHandling/FactSpawner.cs"
7.
Add the Layer of your fact to the LayerMask in WorldFactInteraction
1. Open Assets\Scenes\Worlds\RiverWorld.
2. In the Unity Project Tab goto folder Assets\Scripts\InteractionEngine\
3. Rightclick WorldFactInteraction.cs and select "Find References In Scene"
4. In Hirarchy select MathMenue1_Canvas_0 and add your Fact Layer into the Fact Layer Maks of World Fact Interaction
4. In Hirarchy select HidingCanvas and add your Fact Layer into the Fact Layer Maks of World Fact Interaction
5. Alternative to 6.2 & 6.3: in hirarchy search: "ref:Assets/Scripts/InteractionEngine/WorldFactInteraction.cs"
7.
Create an Icon for your Fact
7.
Create an Icon for your Fact
1. Create an Icon-image
1. Create an Icon-image
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment