C# Class UnityPlatformer.MovingPlatform.PassengerMovement

Struct to store information about passenger movement
Show file Open project: llafuente/unity-platformer

Public Properties

Property Type Description
moveBeforePlatform bool
standingOnPlatform bool
transform UnityEngine.Transform
velocity Vector3

Public Methods

Method Description
PassengerMovement ( Transform _transform, Vector3 _velocity, bool _standingOnPlatform, bool _moveBeforePlatform ) : UnityEngine

Method Details

PassengerMovement() public method

public PassengerMovement ( Transform _transform, Vector3 _velocity, bool _standingOnPlatform, bool _moveBeforePlatform ) : UnityEngine
_transform UnityEngine.Transform
_velocity Vector3
_standingOnPlatform bool
_moveBeforePlatform bool
return UnityEngine

Property Details

moveBeforePlatform public property

public bool moveBeforePlatform
return bool

standingOnPlatform public property

public bool standingOnPlatform
return bool

transform public property

public Transform,UnityEngine transform
return UnityEngine.Transform

velocity public property

public Vector3 velocity
return Vector3