C# Class RotateToObject, RoverGame

Inheritance: MonoBehaviour
Mostra file Open project: Stumpstump/RoverGame

Public Properties

Property Type Description
instantRotate bool
rotate bool
rotateTime float
targetObject Transform

Public Methods

Method Description
ConvertAngles ( Vector3 currentEulers ) : void
EndRotation ( ) : void
RotateTo ( Transform target ) : void
Start ( ) : void
Update ( ) : void

Method Details

ConvertAngles() public method

public ConvertAngles ( Vector3 currentEulers ) : void
currentEulers Vector3
return void

EndRotation() public method

public EndRotation ( ) : void
return void

RotateTo() public method

public RotateTo ( Transform target ) : void
target Transform
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

instantRotate public_oe property

public bool instantRotate
return bool

rotate public_oe property

public bool rotate
return bool

rotateTime public_oe property

public float rotateTime
return float

targetObject public_oe property

public Transform targetObject
return Transform