Interface ICharacter
Assembly: NeoFPS.dll
Syntax
public interface ICharacter
Properties
aimController
Declaration
IAimController aimController { get; }
Property Value
Declaration
bool allowLookInput { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
bool allowMoveInput { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
bool allowWeaponInput { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
audioHandler
Declaration
ICharacterAudioHandler audioHandler { get; }
Property Value
bodyAnimator
Declaration
Animator bodyAnimator { get; }
Property Value
| Type |
Description |
| Animator |
|
bodyTransformHandler
Declaration
IAdditiveTransformHandler bodyTransformHandler { get; }
Property Value
controller
Declaration
IController controller { get; set; }
Property Value
fpCamera
Declaration
FirstPersonCameraBase fpCamera { get; }
Property Value
gameObject
Declaration
GameObject gameObject { get; }
Property Value
| Type |
Description |
| GameObject |
|
Declaration
IAdditiveTransformHandler headTransformHandler { get; }
Property Value
inventory
Declaration
IInventory inventory { get; }
Property Value
isAlive
Declaration
Property Value
| Type |
Description |
| System.Boolean |
|
isLocalPlayerControlled
Declaration
bool isLocalPlayerControlled { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
isPlayerControlled
Declaration
bool isPlayerControlled { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
isRemotePlayerControlled
Declaration
bool isRemotePlayerControlled { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
motionController
Declaration
IMotionController motionController { get; }
Property Value
quickSlots
Declaration
IQuickSlots quickSlots { get; }
Property Value
Declaration
Transform transform { get; }
Property Value
| Type |
Description |
| Transform |
|
Methods
GetComponent(Type)
Declaration
Component GetComponent(Type t)
Parameters
| Type |
Name |
Description |
| System.Type |
t |
|
Returns
| Type |
Description |
| Component |
|
GetComponent<T>()
Declaration
Returns
Type Parameters
GetComponentInChildren(Type)
Declaration
Component GetComponentInChildren(Type t)
Parameters
| Type |
Name |
Description |
| System.Type |
t |
|
Returns
| Type |
Description |
| Component |
|
GetComponentInChildren<T>(Boolean)
Declaration
T GetComponentInChildren<T>(bool includeInactive = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
includeInactive |
|
Returns
Type Parameters
GetComponentInParent(Type)
Declaration
Component GetComponentInParent(Type t)
Parameters
| Type |
Name |
Description |
| System.Type |
t |
|
Returns
| Type |
Description |
| Component |
|
GetComponentInParent<T>()
Declaration
T GetComponentInParent<T>()
Returns
Type Parameters
GetComponents(Type)
Declaration
Component[] GetComponents(Type t)
Parameters
| Type |
Name |
Description |
| System.Type |
t |
|
Returns
| Type |
Description |
| Component[] |
|
GetComponents<T>()
Declaration
Returns
Type Parameters
GetComponentsInChildren(Type, Boolean)
Declaration
Component[] GetComponentsInChildren(Type t, bool includeInactive = false)
Parameters
| Type |
Name |
Description |
| System.Type |
t |
|
| System.Boolean |
includeInactive |
|
Returns
| Type |
Description |
| Component[] |
|
GetComponentsInChildren<T>(Boolean)
Declaration
T[] GetComponentsInChildren<T>(bool includeInactive = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
includeInactive |
|
Returns
Type Parameters
GetComponentsInParent(Type, Boolean)
Declaration
Component[] GetComponentsInParent(Type t, bool includeInactive = false)
Parameters
| Type |
Name |
Description |
| System.Type |
t |
|
| System.Boolean |
includeInactive |
|
Returns
| Type |
Description |
| Component[] |
|
GetComponentsInParent<T>(Boolean)
Declaration
T[] GetComponentsInParent<T>(bool includeInactive = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
includeInactive |
|
Returns
Type Parameters
Kill()
Declaration
ReportTargetHit(Boolean)
Declaration
void ReportTargetHit(bool critical)
Parameters
| Type |
Name |
Description |
| System.Boolean |
critical |
|
Events
onControllerChanged
Declaration
event CharacterDelegates.OnControllerChange onControllerChanged
Event Type
onHitTarget
Declaration
event CharacterDelegates.OnHitTarget onHitTarget
Event Type
onIsAliveChanged
Declaration
event CharacterDelegates.OnIsAliveChange onIsAliveChanged
Event Type