void Start() { moveSpeed = portalScript.GetBaseSpeed() / 2; }
void Start() { moveSpeed = portalScript.GetBaseSpeed() / 2; portalIndex = Random.Range(0, portalScript.portals.Length - 1); gameObject.transform.position = portalScript.portals[portalIndex].transform.position; }