// Use this for initialization void Start() { bigPlanet = GameObject.Find("Planet3").transform; startPos = transform.position; lerpTime = 0; p = GetComponent <PlanetRotate>(); p.enabled = false; }
void Awake() { instance = this; rb = this.GetComponent <Rigidbody>(); }