public class ExistByChance

Inherits MonoBehaviour

Deactivates the GameObject if a random value is more than the given chance

Fields

public float Chance

[Range(0, 1f)]

Chance of this object being active


Attention!

This member is obsolete and should not be used. It is a remnant from the past.

bi bij bibi