Class MouseAndGamepadAimController
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 class MouseAndGamepadAimController : AimController, IAimController, INeoSerializableComponent
Fields
m_RelativeTo
Declaration
public Transform m_RelativeTo
Field Value
| Type | Description |
|---|---|
| Transform |
Properties
analogTurnAngleH
Declaration
public float analogTurnAngleH { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
analogTurnAngleV
Declaration
public float analogTurnAngleV { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
mouseTurnAngleH
Declaration
public float mouseTurnAngleH { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
mouseTurnAngleV
Declaration
public float mouseTurnAngleV { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Methods
HandleAnalogInput(Vector2)
Declaration
public void HandleAnalogInput(Vector2 input)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | input |
HandleMouseInput(Vector2)
Declaration
public void HandleMouseInput(Vector2 input)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | input |
OnDisable()
Declaration
protected void OnDisable()
OnEnable()
Declaration
protected void OnEnable()
OnValidate()
Declaration
protected override void OnValidate()