コード例 #1
0
 // Token: 0x06003BEA RID: 15338 RVA: 0x000D5D0C File Offset: 0x000D3F0C
 public virtual void RemoveObject(global::ICarriableTrans obj)
 {
     if (this._objs != null)
     {
         this._objs.Remove(obj);
     }
 }
コード例 #2
0
 // Token: 0x06003BE9 RID: 15337 RVA: 0x000D5CBC File Offset: 0x000D3EBC
 public virtual void AddObject(global::ICarriableTrans obj)
 {
     if (object.ReferenceEquals(obj, this))
     {
         return;
     }
     if (this.destroying)
     {
         Debug.LogWarning("Did not add object because the this carrier is destroying", this);
     }
     else
     {
         this.TryInit();
         this._objs.Add(obj);
         obj.OnAddedToCarrier(this);
     }
 }