Table of Contents

Field LoadingTextFormat

Namespace
GrindFest.UI
Assembly
GrindFest.dll

Format for the progress label. Hardcoded here, not read back from the scene's Text.

[NonSerialized]
public string LoadingTextFormat

Returns

string
Format for the progress label. Hardcoded here, not read back from the scene's Text.

Remarks

It used to be captured from that Text in OnValidate, which made the two the same string - and that is exactly what the owner saw on 2026-09-20: the raw "Loading {0:P0}..." on screen for the whole load, because nothing had applied a localized string to it yet.

The scene's Text holds a finished placeholder instead ("Loading 0%"), which is what a player looks at for the first frame before this script writes to it; feeding that back into the format would leave string.Format nothing to substitute. So the format lives here, beside the code that uses it.

Not serialised on purpose: the scene file still carries the old value, and a serialised field would let it win.