Table of Contents

Method FloorToInt

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

FloorToInt(float)

Returns the highest integer equal to the given float.

[Obsolete("Use Mathf.FloorToInt")]
public static int FloorToInt(float x)

Parameters

x float

Returns

int