FileInPackageExists /File I/O

bool FileInPackageExists(string fileName)

Returns true if the file in package exists.

if (FileInPackageExists(GetResourceDirectory() + "my_file.txt")
{
    print("my file is in the game package!");
}

Use this function to check if files in the game apk (Android), app bundle (iOS) or game content zip package exist.