Quantcast
Channel: Answers for "Is there any way to view 2d arrays in the inspector?"
Viewing all articles
Browse latest Browse all 18

Answer by Sarchy

$
0
0
Simple example, allows editing in Inspector non-debug mode: [System.Serializable] public struct NPCImgs { [SerializeField] public Sprite[] Img; } public NPCImgs[] CharSprites;

Viewing all articles
Browse latest Browse all 18

Trending Articles



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