IMySensorBlockDetectEnemy Property |
v01.180.0 (Beta)[This is preliminary documentation and is subject to change.]
Gets or sets if the sensor should detect enemy players.
Namespace: Sandbox.ModAPI.IngameAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax bool DetectEnemy { get; set; }
Property DetectEnemy As Boolean
Get
Set
property bool DetectEnemy {
bool get ();
void set (bool value);
}
abstract DetectEnemy : bool with get, set
Property Value
Type:
BooleanRemarks Requires DetectPlayers set to true.
See Also