Function AstarColor.PushToStatic

PushToStatic ()

Pushes all local variables out to static ones.

Public
void PushToStatic ()

Pushes all local variables out to static ones.

This is done because that makes it so much easier to access the colors during Gizmo rendering and it has a positive performance impact as well (gizmo rendering is hot code). It is a bit ugly though, but oh well.