Witam, mam problem z rozwiązaniem pewnego błędu w unity. Mój kod wygląda następująco:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class generator : MonoBehaviour
{
public InputField maxymalna;
public InputField ile;
public void genEr()
{
public int ilebile = ile.text;
}
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}

Dziękuję za wszystkie odpowiedzi.