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
!14
Main
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Main
main
into
master
Overview
0
Commits
7
Pipelines
0
Changes
101
Merged
Robin Halseth Sandvik
requested to merge
main
into
master
2 years ago
Overview
0
Commits
7
Pipelines
0
Changes
101
Expand
Update the master branch with the changes to the main branch.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
e6058de3
7 commits,
2 years ago
101 files
+
16738
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
101
Search (e.g. *.vue) (Ctrl+P)
MrBigsock/Assets/Code/Scripts/HPBar.cs
0 → 100644
+
23
−
0
Options
using
System.Collections
;
using
System.Collections.Generic
;
using
UnityEngine
;
using
UnityEngine.UI
;
namespace
BigSock.UI
{
public
class
HPBar
:
MonoBehaviour
{
public
Slider
slider
;
public
void
SetHealth
(
int
health
){
slider
.
value
=
health
;
}
public
void
SetMaxHealth
(
int
health
){
slider
.
maxValue
=
health
;
}
}
}
Loading