Documentation

Unity Engine

Download Unity

Unity Engine

Overlaps(DiscreteTimeInterval)

Checks whether another interval overlaps this interval.
Read time 1 minuteLast updated 4 hours ago

Definition

public bool Overlaps(DiscreteTimeInterval other)

Parameters

The interval to test against this interval.

Returns

Type

Description

bool
true
if the two intervals share at least one time value. Otherwise,
false
.

Remarks

Intervals that only touch at an endpoint overlap.