Super Bomber Kit
Search Results for

    Show / Hide Table of Contents

    Class DestructibleBlock.ItemDropProbabilitySpec

    This class defines the probability of an item being dropped.

    Inheritance
    object
    DestructibleBlock.ItemDropProbabilitySpec
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: BomberDogs.Level
    Assembly: Assembly-CSharp.dll
    Syntax
    [Serializable]
    public class DestructibleBlock.ItemDropProbabilitySpec

    Fields

    | Edit this page View Source

    item

    Item to be dropped

    Declaration
    public GameObject item
    Field Value
    Type Description
    GameObject
    | Edit this page View Source

    weight

    Weight. The values of all items are summed, and those with higher values will have a greater probability of being spawned.

    Declaration
    [Tooltip("Weight. The values of all items are summed, and those with higher values will have a greater probability of being spawned.")]
    [Range(0, 100)]
    public float weight
    Field Value
    Type Description
    float
    • Edit this page
    • View Source
    In this article
    Back to top