Lico Another
Ученик
(135),
на голосовании
3 месяца назад
помогите вылезают ошибки по типу Cs0029 Cs1002 вот текст using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI;
public class NewMonoBehaviourScript : MonoBehaviour { [SerializeField] private int score; [SerializeField] private int clickGain = 1;
[SerializeField] private int TextscoreText;
private void Update() { Text text =score.ToString(); }
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class NewMonoBehaviourScript : MonoBehaviour
{
[SerializeField] private int score;
[SerializeField] private int clickGain = 1;
[SerializeField] private int TextscoreText;
private void Update()
{
Text text =score.ToString();
}
public void Click()
{
score += clickGain;
}
}