Tanoda
PenaltyCounter.cs
Go to the documentation of this file.
1
using
System.Collections;
2
using
System.Collections.Generic;
3
using
UnityEngine
;
4
5
public
class
PenaltyCounter
: MonoBehaviour
6
{
7
internal
float
penaltyTime = 0;
8
public
static
PenaltyCounter
Instance
;
9
// Start is called before the first frame update
10
void
Start()
11
{
12
Instance
=
this
;
13
}
14
15
// Update is called once per frame
16
void
Update()
17
{
18
19
}
20
21
internal
float
CountPenalty()
22
{
23
return
penaltyTime;
24
}
25
}
PenaltyCounter
Definition:
PenaltyCounter.cs:6
PenaltyCounter.Instance
static PenaltyCounter Instance
Definition:
PenaltyCounter.cs:8
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
Scripts
PenaltyCounter.cs
Generated by
1.9.3