Hi guys,im having a problem with my script.
Script1:
List1 list1Object = new List1();
[System.Serializable]
{
Public class List1
Public texture2d list1texture;
Public text list1text;
Public int list1int;
}
But when i put list1Object.list1int, it doesnt know what is list1int in the (list1Object)
I tried to do
List1Object.list1int = List1.list1int
But still it doesnt know what is List1Object.list1int.Can anyone provide me with an example script of how this works.Thanks alot ,sorry ive been asking so many questions this week.