I have this code in my primary script (inspector script)
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class employee_List_Script : MonoBehaviour {
[Tooltip("employee List")]
public List<employee_List> emp_list = new List<employee_List>();
}
and my script the list’s
using UnityEngine;
using System.Collections;
[System.Serializable]
public class CurrentEmployee_List
{
public class SomeRandomName
{
string name;
int shoot;
int creativty;
int work;
float maxEnergy;
float salary;
}
}
But the “SomeRandomName” class isn’t showing in the inspector, any idea how could solve this?