в юнити хабе выдает ошибку SeriaLizeField вот код:
using System.Collections; using System.Collections.Generic; using UnityEngine;
public class man : MonoBehaviour { [SeriaLizeField] private int score; [SeriaLizeField] private int clickGain = 1; [SeriaLizeField] private text scoreText;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class man : MonoBehaviour
{
[SeriaLizeField] private int score;
[SeriaLizeField] private int clickGain = 1;
[SeriaLizeField] private text scoreText;
private void Update()
{
scoreText.text = score.ToString();
}
public void Click()
{
score += clickGain;
}
}
помогите пожалуйста!!!