Struct MoveSpeed
Store float speed. This component requests that if another component is moving the PositionComponent it should respect this value and move the position at the constant speed specified.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Unity.Transforms
Syntax
[Serializable]
public struct MoveSpeed : IComponentData
Fields
speed
Declaration
public float speed
Field Value
Type | Description |
---|---|
System.Single |