33 lines
646 B
C#
33 lines
646 B
C#
using System;
|
|
|
|
namespace UnityEngine.AzureSky
|
|
{
|
|
[Serializable]
|
|
public sealed class AzureCelestialBody
|
|
{
|
|
public enum Type
|
|
{
|
|
Mercury = 0,
|
|
Venus = 1,
|
|
Mars = 2,
|
|
Jupiter = 3,
|
|
Saturn = 4,
|
|
Uranus = 5,
|
|
Neptune = 6,
|
|
Pluto = 7
|
|
}
|
|
|
|
[Tooltip("The Transform that will receive the celestial body coordinate.")]
|
|
public Transform transform;
|
|
|
|
[Tooltip("The celestial body that this instance will simulate.")]
|
|
public Type type;
|
|
|
|
[Tooltip("How the transform direction should behaves.")]
|
|
public Behaviour behaviour;
|
|
|
|
[Tooltip("The distance between the celestial body and Earth's center.")]
|
|
public float distance;
|
|
}
|
|
}
|