Class BodyTilt
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: NeoFPS.dll
Syntax
public class BodyTilt : MonoBehaviour, IAdditiveTransform, IMonoBehaviour, INeoSerializableComponent
Properties
bypassPositionMultiplier
Declaration
public bool bypassPositionMultiplier { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
bypassRotationMultiplier
Declaration
public bool bypassRotationMultiplier { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
currentLean
Declaration
public Vector2 currentLean { get; }
Property Value
position
Declaration
public Vector3 position { get; }
Property Value
rotation
Declaration
public Quaternion rotation { get; }
Property Value
| Type |
Description |
| Quaternion |
|
targetLean
Declaration
public Vector2 targetLean { get; }
Property Value
Methods
Awake()
Declaration
OnDisable()
Declaration
protected void OnDisable()
OnEnable()
Declaration
protected void OnEnable()
OnValidate()
Declaration
protected void OnValidate()
ReadProperties(INeoDeserializer, NeoSerializedGameObject)
Declaration
public void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
Parameters
ResetTilt()
Declaration
SetTilt(Vector2, Single, Single)
Declaration
public void SetTilt(Vector2 direction, float angle, float normalisedHeight)
Parameters
| Type |
Name |
Description |
| Vector2 |
direction |
|
| System.Single |
angle |
|
| System.Single |
normalisedHeight |
|
Start()
Declaration
UpdateTransform()
Declaration
public void UpdateTransform()
WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)
Declaration
public void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
Parameters
Implements