Summary
The highest store that has been achieved.
This property uses the
Weaver.PrefAttribute
to automatically save its value in
UnityEngine.PlayerPrefs
using its full name as the key: "Weaver.Examples.Score.HighScore".
- Assembly
- Weaver
.dll - Namespace
- Weaver
.Examples - Containing Type
- Score
Syntax
[Pref]
public static int HighScore { get; private set; }
Attributes
Type | Description |
---|---|
PrefAttribute |
An Weaver.InjectionAttribute which saves and loads the value of the attributed member in
UnityEngine.PlayerPrefs .
|
Value
Type | Description |
---|---|
int |