Methods.FindGenerator - notruilin/DeceptionGame GitHub Wiki

public int FindGenerator(Vector3 pos);

Parameters

pos A Vector3 position

Description

Returns the generator ID which the parking position belongs. Returns -1 if pos isn't a valid parking position.