Beispiel #1
0
 public MTextureOverlay AddOverlay(MTextureOverlay overlay)
 {
     if (Overlays == null)
     {
         Overlays = new List <MTextureOverlay>();
     }
     Overlays.Add(overlay);
     return(overlay);
 }
Beispiel #2
0
 public MTextureOverlay AddOverlay(MTextureOverlay overlay)
 {
     if (_Overlays == null)
     {
         _Overlays = new List <MTextureOverlay>();
     }
     _Overlays.Add(overlay);
     _CachedOverlayMeta    = null;
     _CachedOverlayTexture = null;
     return(overlay);
 }
Beispiel #3
0
 public static MTextureOverlay AddOverlay(this MTexture self, MTextureOverlay overlay)
 => ((patch_MTexture)self).AddOverlay(overlay);