Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Mr BigSock
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gard Aleksander Furre
Mr BigSock
Merge requests
!67
maybe fixed spawning of enemies
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
maybe fixed spawning of enemies
ruud1
into
main
Overview
0
Commits
17
Pipelines
0
Changes
13
Merged
Robin Ruud Kristensen
requested to merge
ruud1
into
main
2 years ago
Overview
0
Commits
17
Pipelines
0
Changes
13
Expand
0
0
Merge request reports
Compare
main
version 4
cb8609eb
2 years ago
version 3
a5bb1d88
2 years ago
version 2
6ef954f1
2 years ago
version 1
c527188a
2 years ago
main (base)
and
latest version
latest version
fc2ab1f6
17 commits,
2 years ago
version 4
cb8609eb
14 commits,
2 years ago
version 3
a5bb1d88
6 commits,
2 years ago
version 2
6ef954f1
4 commits,
2 years ago
version 1
c527188a
1 commit,
2 years ago
13 files
+
155
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
13
Search (e.g. *.vue) (Ctrl+P)
MrBigsock/Assets/Code/InteractionSystem/Door.cs
+
1
−
1
Options
@@ -19,7 +19,7 @@ namespace BigSock.Interact {
public
bool
Interact
(
Interactor
interactor
)
{
if
(
i
>
0
)
enemies
=
GameObject
.
FindGameObjectsWithTag
((
i
-
1
).
ToString
());
else
if
(
i
>
0
)
enemies
=
GameObject
.
FindGameObjectsWithTag
((
0
).
ToString
());
else
if
(
i
==
0
)
enemies
=
GameObject
.
FindGameObjectsWithTag
((
i
).
ToString
());
if
(
enemies
.
Length
==
0
)
{
Debug
.
Log
(
"Opening door!"
);
Loading