C# Class PlayerScript, WaitingForHorus

Inheritance: MonoBehaviour
Mostra file Open project: merveilles/WaitingForHorus Class Usage Examples

Public Properties

Property Type Description
AnimationEvents MechaAnimationEvents
CameraScript CameraScript
FlagParts Renderer[]
HealthScript HealthScript
IdleTransitionFadeLength float
InstantOverlapEjection bool
ObjectToUseForBounds GameObject
OverlapEjectionSpeed float
SafetyCollisionMask LayerMask
ShootingScript PlayerShootingScript
StepSound AudioSource
UnsafeAllEnabledPlayerScripts List
airVelocityDamping float
cameraPivot Transform
controller CharacterController
dashEffectPivot Transform
dashEffectRenderer Renderer
dashForwardVelocity float
dashSound AudioSource
dashUpwardVelocity float
gravity float
jumpSound AudioSource
jumpVelocity float
landingSound AudioSource
lockMouse bool
lookAngleLimit float
mouseSensitivity float
recoilDamping float
speed float
timeBetweenDashes float
warningSound AudioSource
warningSphereFab GameObject

Private Properties

Property Type Description
AddRecoil void
CheckOverlap bool
ConsumedRocketJump void
GetControllerCapsuleGeometryAtPosition void
PerformDestroy void
ReceiveRemoteWantsFlagVisibility void
ReceiveShotgunFired void
ReceiveStartedBeingLockedOnBy void
ReceiveStepEvent void
ReceiveStoppedBeingLockedOnBy void
RemoteReceiveHasFlagVisible void
RemoteReceiveTargetedBy void
RemoteReceiveUntargetedBy void
ServerRequestedToDie void
ServerUpdateConnectionQuality IEnumerator
Targeted void
Untargeted void
UpdateMovement void
UpdateRemoteDashVelocity void
UpdateRemoteMovement void

Public Methods

Method Description
Awake ( ) : void
CanSeeOtherPlayer ( PlayerScript other ) : bool
GetTargetedBy ( PlayerScript enemy ) : void
GetUntargetedBy ( PlayerScript enemy ) : void
LateUpdate ( ) : void
OnDestroy ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnGUI ( ) : void
ReceiveStartedRocketJump ( ) : void
RequestedToDieByOwner ( PlayerPresence instigator ) : void
ResetAnimation ( ) : void
ResetVelocities ( ) : void
ResetWarnings ( ) : void
Start ( ) : void
StopFalling ( ) : void
Update ( ) : void
uLink_OnSerializeNetworkView ( uLink stream, uLink info ) : void

Private Methods

Method Description
AddRecoil ( Vector3 impulse ) : void
CheckOverlap ( Vector3 position ) : bool
ConsumedRocketJump ( ) : void
GetControllerCapsuleGeometryAtPosition ( Vector3 position, Vector3 &top, Vector3 &bottom, float &height, float &radius ) : void
PerformDestroy ( ) : void
ReceiveRemoteWantsFlagVisibility ( uLink info ) : void
ReceiveShotgunFired ( ) : void
ReceiveStartedBeingLockedOnBy ( PlayerScript enemy ) : void
ReceiveStepEvent ( Vector3 localDirection ) : void
ReceiveStoppedBeingLockedOnBy ( PlayerScript enemy ) : void
RemoteReceiveHasFlagVisible ( bool visible ) : void
RemoteReceiveTargetedBy ( uLink enemyPlayerScriptID, uLink info ) : void
RemoteReceiveUntargetedBy ( uLink enemyPlayerScriptID, uLink info ) : void
ServerRequestedToDie ( uLink instigatorPresenceViewID ) : void
ServerUpdateConnectionQuality ( ) : IEnumerator
Targeted ( PlayerScript targetingUs ) : void
Untargeted ( PlayerScript enemy ) : void
UpdateMovement ( ) : void
UpdateRemoteDashVelocity ( ) : void
UpdateRemoteMovement ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

CanSeeOtherPlayer() public method

public CanSeeOtherPlayer ( PlayerScript other ) : bool
other PlayerScript
return bool

GetTargetedBy() public method

public GetTargetedBy ( PlayerScript enemy ) : void
enemy PlayerScript
return void

GetUntargetedBy() public method

public GetUntargetedBy ( PlayerScript enemy ) : void
enemy PlayerScript
return void

LateUpdate() public method

public LateUpdate ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

ReceiveStartedRocketJump() public method

public ReceiveStartedRocketJump ( ) : void
return void

RequestedToDieByOwner() public method

public RequestedToDieByOwner ( PlayerPresence instigator ) : void
instigator PlayerPresence
return void

ResetAnimation() public method

public ResetAnimation ( ) : void
return void

ResetVelocities() public method

public ResetVelocities ( ) : void
return void

ResetWarnings() public method

public ResetWarnings ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StopFalling() public method

public StopFalling ( ) : void
return void

Update() public method

public Update ( ) : void
return void

uLink_OnSerializeNetworkView() public method

public uLink_OnSerializeNetworkView ( uLink stream, uLink info ) : void
stream uLink
info uLink
return void

Property Details

AnimationEvents public_oe property

public MechaAnimationEvents AnimationEvents
return MechaAnimationEvents

CameraScript public_oe property

public CameraScript CameraScript
return CameraScript

FlagParts public_oe property

public Renderer[] FlagParts
return Renderer[]

HealthScript public_oe property

public HealthScript HealthScript
return HealthScript

IdleTransitionFadeLength public_oe property

public float IdleTransitionFadeLength
return float

InstantOverlapEjection public_oe property

public bool InstantOverlapEjection
return bool

ObjectToUseForBounds public_oe property

public GameObject ObjectToUseForBounds
return GameObject

OverlapEjectionSpeed public_oe property

public float OverlapEjectionSpeed
return float

SafetyCollisionMask public_oe property

public LayerMask SafetyCollisionMask
return LayerMask

ShootingScript public_oe property

public PlayerShootingScript ShootingScript
return PlayerShootingScript

StepSound public_oe property

public AudioSource StepSound
return AudioSource

UnsafeAllEnabledPlayerScripts public_oe static_oe property

public static List UnsafeAllEnabledPlayerScripts
return List

airVelocityDamping public_oe property

public float airVelocityDamping
return float

cameraPivot public_oe property

public Transform cameraPivot
return Transform

controller public_oe property

public CharacterController controller
return CharacterController

dashEffectPivot public_oe property

public Transform dashEffectPivot
return Transform

dashEffectRenderer public_oe property

public Renderer dashEffectRenderer
return Renderer

dashForwardVelocity public_oe property

public float dashForwardVelocity
return float

dashSound public_oe property

public AudioSource dashSound
return AudioSource

dashUpwardVelocity public_oe property

public float dashUpwardVelocity
return float

gravity public_oe property

public float gravity
return float

jumpSound public_oe property

public AudioSource jumpSound
return AudioSource

jumpVelocity public_oe property

public float jumpVelocity
return float

landingSound public_oe property

public AudioSource landingSound
return AudioSource

lockMouse public_oe property

public bool lockMouse
return bool

lookAngleLimit public_oe property

public float lookAngleLimit
return float

mouseSensitivity public_oe property

public float mouseSensitivity
return float

recoilDamping public_oe property

public float recoilDamping
return float

speed public_oe property

public float speed
return float

timeBetweenDashes public_oe property

public float timeBetweenDashes
return float

warningSound public_oe property

public AudioSource warningSound
return AudioSource

warningSphereFab public_oe property

public GameObject warningSphereFab
return GameObject