// Jimmy Vegas Unity Tutorials // The below are the scripts for the fireballs and the ledges //Fireball Rotate: function Update() { transform.Rotate(0, 0, -1, Space.World); } //============= //Ledge Movement: var ResetPoint : float; var CurrentPoint : float; function Update() { ResetPoint = 6.5; CurrentPoint = transform.position.y; if (CurrentPoint >= ResetPoint) { transform.position.y = -3.5; } transform.Translate(Vector3.up * Time.deltaTime); }