跳到主要内容

Class ControlUnit

The control unit is responsible for the implementation of a specific function of the Controller.

Properties

enabled

public bool enabled { get; private set; }

disableable

Flags whether this control unit can be disabled. If this value returns false, the control unit cannot be disabled after being enabled.

protected virtual bool disableable { get; }

Methods

Enable()

public void Enable()

Disable()

public void Disable()

Reenable()

public void Reenable()

Release()

public void Release()

OnEnable()

protected virtual void OnEnable()

OnDisable()

protected virtual void OnDisable()

OnRelease()

protected virtual void OnRelease()