|
@@ -25,21 +25,25 @@ namespace ET
|
|
|
return this.AddComponentWithId<K, P1, P2, P3>(this.GetId(), p1, p2, p3, isFromPool);
|
|
return this.AddComponentWithId<K, P1, P2, P3>(this.GetId(), p1, p2, p3, isFromPool);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ [EnableAccessEntiyChild]
|
|
|
public new T AddChild<T>(bool isFromPool = false) where T : LSEntity, IAwake
|
|
public new T AddChild<T>(bool isFromPool = false) where T : LSEntity, IAwake
|
|
|
{
|
|
{
|
|
|
return this.AddChildWithId<T>(this.GetId(), isFromPool);
|
|
return this.AddChildWithId<T>(this.GetId(), isFromPool);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ [EnableAccessEntiyChild]
|
|
|
public new T AddChild<T, A>(A a, bool isFromPool = false) where T : LSEntity, IAwake<A>
|
|
public new T AddChild<T, A>(A a, bool isFromPool = false) where T : LSEntity, IAwake<A>
|
|
|
{
|
|
{
|
|
|
return this.AddChildWithId<T, A>(this.GetId(), a, isFromPool);
|
|
return this.AddChildWithId<T, A>(this.GetId(), a, isFromPool);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ [EnableAccessEntiyChild]
|
|
|
public new T AddChild<T, A, B>(A a, B b, bool isFromPool = false) where T : LSEntity, IAwake<A, B>
|
|
public new T AddChild<T, A, B>(A a, B b, bool isFromPool = false) where T : LSEntity, IAwake<A, B>
|
|
|
{
|
|
{
|
|
|
return this.AddChildWithId<T, A, B>(this.GetId(), a, b, isFromPool);
|
|
return this.AddChildWithId<T, A, B>(this.GetId(), a, b, isFromPool);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ [EnableAccessEntiyChild]
|
|
|
public new T AddChild<T, A, B, C>(A a, B b, C c, bool isFromPool = false) where T : LSEntity, IAwake<A, B, C>
|
|
public new T AddChild<T, A, B, C>(A a, B b, C c, bool isFromPool = false) where T : LSEntity, IAwake<A, B, C>
|
|
|
{
|
|
{
|
|
|
return this.AddChildWithId<T, A, B, C>(this.GetId(), a, b, c, isFromPool);
|
|
return this.AddChildWithId<T, A, B, C>(this.GetId(), a, b, c, isFromPool);
|