Код: Выделить всё
using UnityEngine;
using System.Collections;
public class VariablesAndFunctions : MonoBehaviour
{
int myInt = 5;
}
Какова цель MonoBehaviour
Подробнее здесь: https://stackoverflow.com/questions/416 ... n-unity-3d
Код: Выделить всё
using UnityEngine;
using System.Collections;
public class VariablesAndFunctions : MonoBehaviour
{
int myInt = 5;
}