22 lines
464 B
C#
22 lines
464 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
[Serializable]
|
|
public class Satellite
|
|
{
|
|
[Tooltip("Name of this satellite")]
|
|
public string name;
|
|
|
|
[Tooltip("Prefab with model that get instantiated.")]
|
|
public GameObject prefab;
|
|
|
|
[Tooltip("This value will influence the satellite orbit.")]
|
|
public float orbit;
|
|
|
|
[Tooltip("This value will influence the satellite orbit/coords.")]
|
|
public Vector3 coords;
|
|
|
|
[Tooltip("The speed of the satellites orbit.")]
|
|
public float speed;
|
|
}
|