Contains the method for creating new modes for the Comms Radio.
- Namespace
- CommsRadioAPI
- Interfaces
-
- ICommsRadioMode
- Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type-.->Interface0["ICommsRadioMode"]
Type["CommsRadioMode"]
class Type type-node
Syntax
public class CommsRadioMode : MonoBehaviour, ICommsRadioMode
Properties
Name | Property Type | Summary |
---|---|---|
ButtonBehaviour | ButtonBehaviourType |
Don't use.
Must be public to implement ICommsRadioMode .
|
Methods
Name | Return Value | Summary |
---|---|---|
ButtonACustomAction |
bool |
Don't use.
Implement
AStateBehaviour.OnAction instead.Must be public to implement ICommsRadioMode .
|
ButtonBCustomAction |
bool |
Don't use.
Implement
AStateBehaviour.OnAction instead.Must be public to implement ICommsRadioMode .
|
Create |
CommsRadioMode |
Create a new mode in the Comms Radio.
static
|
Disable |
void |
Don't use.
Override
AStateBehaviour.OnLeave instead.Must be public to implement ICommsRadioMode .
|
Enable |
void |
Don't use.
Override
AStateBehaviour.OnEnter instead.Must be public to implement ICommsRadioMode .
|
GetLaserBeamColor |
Color |
Get the color of the laser beam used for this Comms Radio mode.
Must be public to implement ICommsRadioMode .
|
OnUpdate |
void |
Don't use.
Override
AStateBehaviour.OnUpdate instead.Must be public to implement ICommsRadioMode .
|
OnUse |
void |
Don't use.
Implement
AStateBehaviour.OnAction instead.Must be public to implement ICommsRadioMode .
|
OverrideSignalOrigin |
void |
Override the signal origin.
(TODO: What does this mean?)
By default, the signal origin will be the transform of the CommsRadioController game object.Must be public to implement ICommsRadioMode .
|
SetStartingDisplay |
void |
Don't use.
Define the
CommsRadioState of the starting state passed to CommsRadioMode.Create instead.Must be public to implement ICommsRadioMode .
|