16 lines
295 B
C#
16 lines
295 B
C#
|
using Godot;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using Godot.Collections;
|
||
|
|
||
|
namespace Rokojori
|
||
|
{
|
||
|
[GlobalClass]
|
||
|
public partial class MoveAndSlide:CharacterControllerAction
|
||
|
{
|
||
|
public override void _OnTrigger()
|
||
|
{
|
||
|
controller.body.MoveAndSlide();
|
||
|
}
|
||
|
}
|
||
|
}
|