C# Class RotateAroundPivot, rogue-shield

Components to permits rotation of a game object in a specified angle
Inheritance: MonoBehaviour
Show file Open project: SneakyRedSnake/rogue-shield Class Usage Examples

Public Methods

Method Description
RotationZ ( float z, float distOfPivot ) : void

Rotation under the z axes using Quaternion.Euler

Private Methods

Method Description
Start ( ) : void
Update ( ) : void

Method Details

RotationZ() public method

Rotation under the z axes using Quaternion.Euler
public RotationZ ( float z, float distOfPivot ) : void
z float The angle with the z axes
distOfPivot float
return void