Corgi Engine  v9.1
MoreMountains.CorgiEngine.ProximityManaged Class Reference

A class to add to any object in your scene to mark it as managed by a proximity manager. More...

Inheritance diagram for MoreMountains.CorgiEngine.ProximityManaged:
MoreMountains.CorgiEngine.CorgiMonoBehaviour

Public Member Functions

virtual void DebugAddObject ()
 A debug method used to add this object to a proximity manager More...
 

Public Attributes

float EnableDistance = 35f
 the distance from the proximity center (the player) under which the object should be enabled More...
 
float DisableDistance = 45f
 the distance from the proximity center (the player) after which the object should be disabled More...
 
bool DisabledByManager
 whether or not this object was disabled by the ProximityManager More...
 
ProximityManager DebugProximityManager
 a debug manager to add this object to, only used for debug More...
 
bool AddButton
 a debug button to add this object to the debug manager More...
 

Detailed Description

A class to add to any object in your scene to mark it as managed by a proximity manager.

Member Function Documentation

◆ DebugAddObject()

virtual void MoreMountains.CorgiEngine.ProximityManaged.DebugAddObject ( )
virtual

A debug method used to add this object to a proximity manager

Member Data Documentation

◆ AddButton

bool MoreMountains.CorgiEngine.ProximityManaged.AddButton

a debug button to add this object to the debug manager

◆ DebugProximityManager

ProximityManager MoreMountains.CorgiEngine.ProximityManaged.DebugProximityManager

a debug manager to add this object to, only used for debug

◆ DisabledByManager

bool MoreMountains.CorgiEngine.ProximityManaged.DisabledByManager

whether or not this object was disabled by the ProximityManager

◆ DisableDistance

float MoreMountains.CorgiEngine.ProximityManaged.DisableDistance = 45f

the distance from the proximity center (the player) after which the object should be disabled

◆ EnableDistance

float MoreMountains.CorgiEngine.ProximityManaged.EnableDistance = 35f

the distance from the proximity center (the player) under which the object should be enabled


The documentation for this class was generated from the following file: