steampunk-quest/Assets/scripts/ChestsGame/geometry.cs
Firesieht ab7bba7c3e fix
2022-01-20 19:45:19 +03:00

12 lines
308 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class geometry : MonoBehaviour
{
public bool intersects(float ax, float ay, float ax1, float ay1, float bx, float by, float bx1, float by1)
{
return (ay < by1 || ay1 > by || ax1 < bx || ax > bx1);
}
}