MCPcopy Create free account
hub / github.com/Tencent/xLua / Get

Method Get

Assets/XLua/Src/ObjectPool.cs:102–109  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

100 }
101
102 public object Get(int index)
103 {
104 if (index >= 0 && index < count)
105 {
106 return list[index].obj;
107 }
108 return null;
109 }
110
111 public object Remove(int index)
112 {

Callers 15

StartMethod · 0.45
StartMethod · 0.45
UpdateMethod · 0.45
AwakeMethod · 0.45
LuaEnv.csFile · 0.45
LazyReflectionCallMethod · 0.45
LuaFunction.csFile · 0.45
TryPrimitiveArraySetFunction · 0.45
CastFunction · 0.45
getTypeFunction · 0.45
ToFunctionFunction · 0.45

Calls

no outgoing calls

Tested by 1

StartMethod · 0.36