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
6312759e
Commit
6312759e
authored
Nov 17, 2016
by
Ashley
Browse files
Added activate and deactivate methods to torches
parent
bde1543b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Assets/Scripts/Torch.cs
View file @
6312759e
...
...
@@ -39,4 +39,14 @@ public class Torch : MonoBehaviour {
currentSprite
.
sprite
=
unlitTorch
;
}
}
public
void
activate
()
{
activateTorch
();
}
public
void
deactivate
()
{
deactivateTorch
();
}
}
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