public void Close() { upper.SetTile(upper.WorldToCell(transform.position), baseTiles.GetMainTile()); isOpen = false; terminalController.SetCurrentPc(null); actionWindow.CloseActionWindow("awpc"); terminalController.isOpen = false; //light2D.enabled = false; }
public List <string> GetActionStatus(string[] param) { ActionWindowController actionWindow = Global.Component.GetActionWindowController(); TerminalController terminalController = Global.Component.GetTerminalController(); terminalController.GetCurrentPc().Close(); actionWindow.CloseActionWindow("awpc"); return(new List <string>() { "exit status 0" }); }
public void OnClose() { if (input.text.Length == 0) { goOnTable.GetComponent <ItemCell>().item = item; goOnTable.GetComponent <SpriteRenderer>().sprite = item.itemSprite; } else { goOnTable.GetComponent <ItemCell>().item = resultItem; goOnTable.GetComponent <SpriteRenderer>().sprite = resultItem.itemSprite; } goOnTable.GetComponent <ItemCell>().item.itemOptionData.text = input.text; actionWindow.CloseActionWindow(this.gameObject.tag); isOpen = false; }
public void OnClose() { if (!IsFormFill()) { goOnTable.GetComponent <ItemCell>().item = item; goOnTable.GetComponent <SpriteRenderer>().sprite = item.itemSprite; } else { goOnTable.GetComponent <ItemCell>().item = resultItem; goOnTable.GetComponent <SpriteRenderer>().sprite = resultItem.itemSprite; } goOnTable.GetComponent <ItemCell>().item.itemOptionData.text = ParseToString(); actionWindow.CloseActionWindow(this.gameObject.tag); //isOpen = false; CleanFields(); }
public void OnClose() { actionWindow.CloseActionWindow(this.gameObject.tag); }
public void OnClose() { Destroy(instawItem); actionWindow.CloseActionWindow(this.gameObject.tag); }