mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-09-10 19:35:16 -05:00
Fixed King Null Ref Errors
- Fixed KingPlace and KingMove Null Refs - Changed the Networked Slime to isTrigger instead of solid
This commit is contained in:
@@ -22,6 +22,11 @@ public class GridReveal : MonoBehaviour
|
||||
for (int i = Rows.Length-1; i > ROSCount-1; i--) {// Disables most of the Rows that the King can't see
|
||||
Rows[i].SetActive(false);
|
||||
}
|
||||
ToggleMountainGrid(true);
|
||||
}
|
||||
|
||||
public void ToggleMountainGrid(bool state) {
|
||||
Rows[Rows.Length - 2].SetActive(state);
|
||||
}
|
||||
|
||||
public void GridSwitch(bool State) {//Activates or deactivates the Grid
|
||||
|
||||
Reference in New Issue
Block a user