Answer the question
In order to leave comments, you need to log in
Unity how to save List?
How to save a List in this format?
Here is the script :List<Item> list = new List<Item>();
Item
using UnityEngine;
[System.Serializable]
public class Item : MonoBehaviour{
public string Name;
[Multiline(5)]
public string Describe;
public int Count;
public bool isStacktable;
public string HandPrefab;
public string WorldPrefab;
public string icon;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question