I do have make some array with different variable but the array is not visible to unity’s inspector even I make it public variable. How to make it visible?
here is my code:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class test : MonoBehaviour
{
public Droid[] DroidData;
public class Droid
{
public string Name;
public float Durability;
public float Firerate;
public int Price;
}
}