14 lines
267 B
Plaintext
14 lines
267 B
Plaintext
|
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);
|
||
|
}
|
||
|
}
|