Unity Trap Game Dev - Lane Based Power Management
Channel:
Subscribers:
33,700
Published on ● Video Link: https://www.youtube.com/watch?v=A7rDvxGS5r4
The one thing I skipped which I probably should have also covered is placing a generator increases the value in the corresponding position in the lane capacity array, and placing a trap increases the value in the position in the corresponding lane load array. This is done using the same x position to array position calculation.