Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gadig
four
Commits
bde1543b
Commit
bde1543b
authored
Nov 17, 2016
by
Ashley
Browse files
Added activate and deactivate methods to doors
parent
2b11e4cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Assets/Scripts/DoorScript.cs
View file @
bde1543b
...
...
@@ -65,6 +65,14 @@ public class DoorScript : MonoBehaviour {
}
}
}
}
public
void
activate
()
{
unlockDoor
();
}
public
void
deactivate
()
{
state
=
State
.
locked
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment