using System.Collections; using System.Collections.Generic; using UnityEngine; public interface IMovable { void Move(Vector3 direction, float speed, float acceleration); void ChangeDrag(float drag); void ChangeVelocity(Vector3 velocity); Vector3 GetVelocity(); void ToggleGravity(bool b); bool GetGravity(); void AddForce(Vector3 force); bool OnGround(); bool IsColliding(); void SetBlockMovement(bool b); bool GetBlockMovement(); }