using System.Collections; using System.Collections.Generic; using UnityEngine; public class SlideRotator : Slidable { public override void Slide(float delta) { base.Slide(delta); transform.Rotate(-Vector3.up, delta, Space.World); } }