C# Class BDAnimationModules.Utils

Afficher le fichier Open project: BahamutoD/BDAnimationModules

Méthodes publiques

Méthode Description
RoundToMultiple ( float f, float multiple ) : float
SetUpAnimation ( string animationName, Part part ) : UnityEngine.AnimationState[]
SignedAngle ( Vector3 fromDirection, Vector3 toDirection, Vector3 referenceRight ) : float

Method Details

RoundToMultiple() public static méthode

public static RoundToMultiple ( float f, float multiple ) : float
f float
multiple float
Résultat float

SetUpAnimation() public static méthode

public static SetUpAnimation ( string animationName, Part part ) : UnityEngine.AnimationState[]
animationName string
part Part
Résultat UnityEngine.AnimationState[]

SignedAngle() public static méthode

public static SignedAngle ( Vector3 fromDirection, Vector3 toDirection, Vector3 referenceRight ) : float
fromDirection Vector3
toDirection Vector3
referenceRight Vector3
Résultat float