checkcompletion - eisclimber/ExPresS-XR GitHub Wiki

ExcavationZone.CheckCompletion(int,Color32[])

Method in ExcavationZone

Summary

Checks if all the sections have been completed to an average of at least _completionValue percent.

public bool CheckCompletion(int gridWidth, Color32[] colors)

Parameters

Name Description
int gridWidth Width (and height) of the excavation game grid to check.
UnityEngine.Color32[] colors Array of the colors of each section.

Returns

Whether or not the zone has been completed.

⚠️ **GitHub.com Fallback** ⚠️