Class FpsInputBase
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NeoFPS
Assembly: NeoFPS.dll
Syntax
public abstract class FpsInputBase : MonoBehaviour
Properties
currentContext
Declaration
public static FpsInputContext currentContext { get; }
Property Value
| Type | Description |
|---|---|
| FpsInputContext |
gainedFocusThisFrame
Declaration
public bool gainedFocusThisFrame { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
hasFocus
Declaration
public bool hasFocus { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
inputContext
Declaration
public virtual FpsInputContext inputContext { get; }
Property Value
| Type | Description |
|---|---|
| FpsInputContext |
isInputActive
Declaration
protected abstract bool isInputActive { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
Awake()
Declaration
protected void Awake()
OnAwake()
Declaration
protected virtual void OnAwake()
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
OnGainFocus()
Declaration
protected virtual void OnGainFocus()
OnLoseFocus()
Declaration
protected virtual void OnLoseFocus()
PopContext()
Declaration
public void PopContext()
PushContext()
Declaration
public void PushContext()
Start()
Declaration
protected virtual void Start()
Update()
Declaration
protected virtual void Update()
UpdateInput()
Declaration
protected abstract void UpdateInput()