15 lines
369 B
C#
15 lines
369 B
C#
using UnityEngine;
|
|
|
|
namespace BlueWater.Interfaces
|
|
{
|
|
public interface IPhysicMovable
|
|
{
|
|
Rigidbody Rigidbody { get; }
|
|
float MoveSpeed { get; }
|
|
bool EnableMove { get; }
|
|
bool IsMoving { get; }
|
|
Vector3 CurrentDirection { get; set; }
|
|
bool CanMove();
|
|
void AddForce(Vector3 force, ForceMode forceMode);
|
|
}
|
|
} |