GetPlayerPositionY() public static méthode

public static GetPlayerPositionY ( ) : float
Résultat float
Exemple #1
0
        public float GetAimDir()
        {
            float val = (float)Math.Atan2((BulletMLManager.GetPlayerPositionX() - X), -(BulletMLManager.GetPlayerPositionY() - Y));

            ////Debug.WriteLine("SetAimDir : {0}" , val / Math.PI * 180);
            return(val);
        }