よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
private void generateNewPoints(ZePlanet item) { var data = Oscillator.Osccilate( item.Planet.transform.position, Sun.transform.position, 1, new Vector2(AngleMinMax.y, AngleMinMax.x), RotationSpeedMinMax, CurrentDifficulty); item.CurrentPoints = new Queue <Vector2>(data.Points); item.TraverseSpeed = data.TraverseSpeed; item.TargetPosition = item.CurrentPoints.Dequeue(); }