/// <summary> /// Updates the instance, occurs after Update(). Used for depth sorting. /// </summary> private void LateUpdate() { // Depth sorting // Check if the object is static if (Static && _staticDone) { return; } Isometric.DepthSort(gameObject, Offset); // Set _staticDone _staticDone = true; }