i got this c# class on unity
using UnityEngine;
using System.Collections;
[System.Serializable]
public class test
{
public int x;
public int y;
}
and serializable doesnt work ¿why? i got unity 3.4
i got this c# class on unity
using UnityEngine;
using System.Collections;
[System.Serializable]
public class test
{
public int x;
public int y;
}
and serializable doesnt work ¿why? i got unity 3.4
using UnityEngine;
using System.Collections;
[System.Serializable]
public class test
{
public int x;
public int y;
}
public class pruebas : MonoBehaviour {
public test myTestVar1; // This will be shown in the editor
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}