C# Class RotateAroundPivot, rogue-shield

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

Méthodes publiques

Méthode Description
RotationZ ( float z, float distOfPivot ) : void

Rotation under the z axes using Quaternion.Euler

Private Methods

Méthode Description
Start ( ) : void
Update ( ) : void

Method Details

RotationZ() public méthode

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
Résultat void