Super Bomber Kit
Search Results for

    Show / Hide Table of Contents

    Class LayerMaskExtensions

    Layermask extensions

    Inheritance
    object
    LayerMaskExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: BomberDogs.Extensions
    Assembly: Assembly-CSharp.dll
    Syntax
    public static class LayerMaskExtensions

    Methods

    | Edit this page View Source

    Contains(LayerMask, int)

    Checks if a LayerMask contains a layer.

    Declaration
    public static bool Contains(this LayerMask layerMask, int layerNumber)
    Parameters
    Type Name Description
    LayerMask layerMask

    Layer mask

    int layerNumber

    target layer number

    Returns
    Type Description
    bool

    if contains returns true

    • Edit this page
    • View Source
    In this article
    Back to top