C# Class RotateToObject, RoverGame

Inheritance: MonoBehaviour
Show 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 property

public bool instantRotate
return bool

rotate public property

public bool rotate
return bool

rotateTime public property

public float rotateTime
return float

targetObject public property

public Transform targetObject
return Transform