interface PlayerController.IEvents
Events from the PlayerController
public void OnEyeAngles( ref Angles angles )
Our eye angles are changing. Allows you to change the sensitivity, or stomp all together.
public void PostCameraSetup( CameraComponent cam )
Called after we've set the camera up
public void OnLanded( float distance, Vector3 impactVelocity )
The player has landed on the ground, after falling this distance.
public Component GetUsableComponent( GameObject go )
Used by the Using system to find components we can interact with. By default we can only interact with IPressable components. Return a component if we can use it, or else return null.
public void StartPressing( Component target )
We have started using something (use was pressed)
public void StopPressing( Component target )
We have started using something (use was pressed)
public void OnJumped( )
😔 No documentation found.
public void FailPressing( )
😔 No documentation found.