|
Post by gamer2300 on Dec 9, 2020 10:13:30 GMT
i created my class using the same method of your Weapon class but when i want use it inside a List i can use but can't see the list values inside unity3d editor. i can see only if i use debug and so showing my values. I need it inside inspector. it's possible. I.E. i use this defintion of my list
public List<instdef> instlista = new List<instdef>();
i can write and read value inside list like its normal but no debug on inspector.
|
|
|
Post by echo17 on Dec 9, 2020 13:17:28 GMT
I will need to see a working example of your project to be able to diagnose. Please zip up a minimal project and email to me along with your invoice number to the email address in my signature. Please see this FAQ for more information: link
|
|
|
Post by gamer2300 on Dec 16, 2020 14:35:48 GMT
but i use your tutorial so i make this class (all field are string and first is int)
//namespace SimpleSQL.Demos //{using SaveSystem; using System.Collections.Generic; using UnityEngine; using System; using System.IO; using SimpleSQL;
public class instdef { public int INSTAID { get; set; } [MaxLength(12), NotNull, Unique] public string GSM { get; set; }
[MaxLength(30)] public string NOMEINST { get; set; }
[MaxLength(30)] public string LOCALITA { get; set; }
[MaxLength(30)] public string VIA { get; set; }
[MaxLength(30)] public string NUMCIV { get; set; }
[MaxLength(30)] public string LATITUDE { get; set; }
[MaxLength(30)] public string LONGITUDE { get; set; }
[MaxLength(30)] public string A1 { get; set; }
[MaxLength(30)] public string AT1 { get; set; }
[MaxLength(30)] public string A2 { get; set; }
[MaxLength(30)] public string AT2 { get; set; }
[MaxLength(30)] public string A3 { get; set; }
[MaxLength(30)] public string AT3 { get; set; }
[MaxLength(30)] public string A4 { get; set; }
[MaxLength(30)] public string AT4 { get; set; }
[MaxLength(30)] public string A5 { get; set; }
[MaxLength(30)] public string AT5 { get; set; }
[MaxLength(30)] public string A6 { get; set; }
[MaxLength(30)] public string AT6 { get; set; }
[MaxLength(30)] public string IMG { get; set; }
[MaxLength(60)] public string NOTES { get; set; }
[MaxLength(30)] public string U1 { get; set; }
[MaxLength(30)] public string T1 { get; set; }
[MaxLength(30)] public string U2 { get; set; }
[MaxLength(30)] public string T2 { get; set; }
[MaxLength(30)] public string U3 { get; set; }
[MaxLength(30)] public string T3 { get; set; }
[MaxLength(30)] public string U4 { get; set; }
[MaxLength(30)] public string T4 { get; set; }
[MaxLength(30)] public string U5 { get; set; }
[MaxLength(30)] public string T5 { get; set; }
[MaxLength(30)] public string U6 { get; set; }
[MaxLength(30)] public string T6 { get; set; }
//public instdef() { } } //}
And this is my definitioninside my main class (and i cant see this on editor why?? ok it is not mono but i cant see reference on editor) public List<instdef> instlista = new List<instdef>();
soin ispector instlista is not mentioned at all. if is possible help me.
|
|
|
Post by echo17 on Dec 16, 2020 20:36:52 GMT
I will need to see a complete example project to give you a diagnosis. If I place this code in, it works for me. The best way to show you what to fix is if I have your project to demonstrate the issue. Please see this FAQ for more information: link
|
|