Show / Hide Table of Contents

Class NearbyEntitiesRule

Checks for entities matching the whitelist in range. This is more expensive than NearbyComponentsRule so prefer that!

Inheritance
System.Object
RulesRule
NearbyEntitiesRule
Namespace: Content.Shared.Random
Assembly: Content.Shared.dll
Syntax
public sealed class NearbyEntitiesRule : RulesRule

Fields

| Improve this Doc View Source

Count

How many of the entity need to be nearby.

Declaration
public int Count
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Range

Declaration
public float Range
Field Value
Type Description
System.Single
| Improve this Doc View Source

Whitelist

Declaration
public EntityWhitelist Whitelist
Field Value
Type Description
EntityWhitelist
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾