interface
IEvents
public interface IEvents Events from the PlayerController
Methods
virtual Void OnEyeAngles(Angles angles) Our eye angles are changing. Allows you to change the sensitivity, or stomp all together.
virtual Void PostCameraSetup(CameraComponent cam) Called after we've set the camera up
virtual Void OnJumped() The player has just jumped
virtual Void OnLanded(Single distance, Vector3 impactVelocity) The player has landed on the ground, after falling this distance.
virtual 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.
virtual Void StartPressing(Component target) We have started using something (use was pressed)
virtual Void StopPressing(Component target) We have stopped using something
virtual Void FailPressing() We pressed USE but it did nothing
virtual Void PreInput() We have a chance to do something before input is processed
Assembly:
Sandbox.Engine Declaring Type: PlayerController Full Name: Sandbox.PlayerController.IEvents