Tanoda
ReadonlyListCacheEntry.cs
Go to the documentation of this file.
1
using
RuntimeUnityEditor
.
Core
.
Utils
;
2
3
namespace
RuntimeUnityEditor.Core.Inspector.Entries
4
{
5
public
class
ReadonlyListCacheEntry
:
ReadonlyCacheEntry
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
}
RuntimeUnityEditor.Core.Inspector.Entries.ReadonlyCacheEntry
Definition:
ReadonlyCacheEntry.cs:6
RuntimeUnityEditor.Core.Inspector.Entries.ReadonlyListCacheEntry
Definition:
ReadonlyListCacheEntry.cs:6
RuntimeUnityEditor.Core.Inspector.Entries.ReadonlyListCacheEntry.ToString
override string ToString()
Definition:
ReadonlyListCacheEntry.cs:16
RuntimeUnityEditor.Core.Inspector.Entries.ReadonlyListCacheEntry.ReadonlyListCacheEntry
ReadonlyListCacheEntry(object o, int index)
Definition:
ReadonlyListCacheEntry.cs:7
RuntimeUnityEditor.Core.Inspector.Entries
Definition:
CacheEntryBase.cs:5
RuntimeUnityEditor.Core.Utils
Definition:
AssetBundleManagerHelper.cs:8
RuntimeUnityEditor.Core
Definition:
GameObjectSearcher.cs:9
RuntimeUnityEditor
Definition:
GameObjectSearcher.cs:9
Object
UnityEngine.Object Object
Definition:
pb_PrefabBrowserItemButton.cs:19
Source
Assets
Scripts
BepinRUE
Inspector
Entries
Contents
ReadonlyListCacheEntry.cs
Generated by
1.9.3