protected override void Start() { base.Start(); score = GameObject.FindGameObjectWithTag("Score").GetComponent <ScoreUpdater>(); cargo = GameObject.FindGameObjectWithTag("Cargo").GetComponent <CargoUpdater>(); rotation = new Vector3(0, 0, 360 - RotationAngle); transform.rotation = Quaternion.Euler(rotation); }
protected override void Start() { base.Start(); score = GameObject.FindGameObjectWithTag("Score").GetComponent <ScoreUpdater>(); cargo = GameObject.FindGameObjectWithTag("Cargo").GetComponent <CargoUpdater>(); }