Tanoda
ReadonlyListCacheEntry.cs
Go to the documentation of this file.
2
4{
6 {
7 public ReadonlyListCacheEntry(object o, int index) : base(GetListItemName(index), o)
8 {
9 }
10
11 internal static string GetListItemName(int index)
12 {
13 return "Index: " + index;
14 }
15
16 public override string ToString()
17 {
18 var isNull = Object.IsNullOrDestroyed();
19 if (isNull != null) return "[" + isNull + "]";
20
21 return Object.ToString();
22 }
23 }
24}
override string ToString()
ReadonlyListCacheEntry(object o, int index)
UnityEngine.Object Object