public void OnTerminalIncomplete(EventInfo info) { TerminalPuzzleInfo tpi = (TerminalPuzzleInfo)info; if (tpi?.terminalGrid != terminalGravityGrid) { return; } gravity = gravityBase; }
public void OnIncomplete(EventInfo info) { TerminalPuzzleInfo tpi = (TerminalPuzzleInfo)info; if (tpi?.terminalGrid != grid) { return; } screenModel.GetComponent <Renderer> ().material.color = Color.white; }
private void internalOnIncomplete(EventInfo info) { TerminalPuzzleInfo tpi = (TerminalPuzzleInfo)info; if (tpi?.terminalGrid != terminalGrid) { return; } OnIncomplete(info); }
public void OnComplete(EventInfo info) { TerminalPuzzleInfo tpi = (TerminalPuzzleInfo)info; if (tpi?.terminalGrid != grid) { return; } ToggleActive(false); screenModel.GetComponent <Renderer> ().material.color = Color.green; }