Beispiel #1
0
        private void Start()
        {
            animation_time.Start();
            current_animation = animated_sprite.GetDefaultAnimation();

            random_offset = RandFloat.GetMagnitude(3600.0f);
        }
Beispiel #2
0
 static public Vector2 GetJitteredDirectionAngleInRadians(this Vector2 item, float magnitude)
 {
     return(item.GetAdjustDirectionAngleInRadians(RandFloat.GetMagnitude(magnitude)));
 }
Beispiel #3
0
 static public Vector2 GetJitteredDirectionAngleInCustom(this Vector2 item, float magnitude, float period)
 {
     return(item.GetAdjustDirectionAngleInCustom(RandFloat.GetMagnitude(magnitude), period));
 }
Beispiel #4
0
 public Signal_Generator_Time()
 {
     random_offset = RandFloat.GetMagnitude(3600.0f);
 }