Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
simulator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Service Desk
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 JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chenhao Ma
simulator
Commits
f7bfd1b2
Commit
f7bfd1b2
authored
5 years ago
by
Martins Mozeiko
Browse files
Options
Downloads
Patches
Plain Diff
Correctly show API mode in Loader when running inside editor
parent
07d62a63
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Assets/Scripts/Editor/SimulatorManagerEditor.cs
+1
-0
1 addition, 0 deletions
Assets/Scripts/Editor/SimulatorManagerEditor.cs
Assets/Scripts/Web/Loader.cs
+1
-1
1 addition, 1 deletion
Assets/Scripts/Web/Loader.cs
with
2 additions
and
1 deletion
Assets/Scripts/Editor/SimulatorManagerEditor.cs
+
1
−
0
View file @
f7bfd1b2
...
...
@@ -36,6 +36,7 @@ public static class SimulatorManagerEditor
{
var
api
=
Object
.
Instantiate
(
Simulator
.
Loader
.
Instance
.
ApiManagerPrefab
);
api
.
name
=
"ApiManager"
;
Simulator
.
Loader
.
Instance
.
LoaderUI
.
SetLoaderUIState
(
LoaderUI
.
LoaderUIStateType
.
READY
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Assets/Scripts/Web/Loader.cs
+
1
−
1
View file @
f7bfd1b2
...
...
@@ -68,7 +68,7 @@ namespace Simulator
public
SimulatorManager
SimulatorManagerPrefab
;
public
ApiManager
ApiManagerPrefab
;
p
rivate
LoaderUI
LoaderUI
{
get
=>
FindObjectOfType
<
LoaderUI
>();
set
{
}
}
p
ublic
LoaderUI
LoaderUI
=>
FindObjectOfType
<
LoaderUI
>();
// NOTE: When simulation is not running this reference will be null.
public
SimulationModel
CurrentSimulation
;
...
...
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