Подскажите, пожалуйста, как исправить мою ошибку CS1729 в коде.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MoveState : State
{
protected D_MoveState stateData;
protected bool isDetectingWall;
protected bool isDetectingLedge;
public MoveState(Entity etity, FiniteStateMachine stateMachine, string animBoolName, D_MoveState stateData) : base(etity, stateMachine, animBoolName)
{
this.stateData = stateData;
}
public override void Enter()
{
base.Enter();
entity.SetVelocity(stateData.movementSpeed);
isDetectingLedge = entity.CheckLedge();
isDetectingWall = entity.CheckWall();
}
public override void Exit()
{
base.Exit();
}
public override void LogicUpdate()
{
base.LogicUpdate();
}
public override void PhysicsUpdate()
{
base.PhysicsUpdate();
isDetectingLedge = entity.CheckLedge();
isDetectingWall = entity.CheckWall();
}
}