Quantcast
Channel: Questions in topic: "issue"
Viewing all articles
Browse latest Browse all 827

How do I make a public class show in the inspector?

$
0
0
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ArrayTwo : MonoBehaviour { [System.Serializable] public class item { public int itemID; public string name; public string description; } Even though I used [System.Serializable] I still see nothing in the inspector, anyone know the issue?

Viewing all articles
Browse latest Browse all 827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>