hello can someone fix me please and also tell me why im dumb
public class PlayerGUI : MonoBehaviour
{
public float playerMoveSpeed;
public float playerLives;
public float playerProjectileSpeed;
public float reloadSpeed = 20f;
void start(){
PlayerStats = new PlayerGUI();
}
void Update()
{
}
public float GetReloadSpeed() {
PlayerStats.reloadSpeed = reloadSpeed;
return PlayerStats.reloadSpeed;
}
}
{
public float playerMoveSpeed;
public float playerLives;
public float playerProjectileSpeed;
public float reloadSpeed = 20f;
void start(){
PlayerStats = new PlayerGUI();
}
void Update()
{
}
public float GetReloadSpeed() {
PlayerStats.reloadSpeed = reloadSpeed;
return PlayerStats.reloadSpeed;
}
}