WXMC/.svn/pristine/4b/4b081de7c3c298d8712749b6d6d140103ce1732d.svn-base

14 lines
267 B
Plaintext
Raw Normal View History

2024-12-04 16:18:46 +08:00
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);
}
}