public void MarkAsCanBeCapture() { if (markStatus != ActionColorsType.captureCell) { markStatus = ActionColorsType.captureCell; cellMarker.GetComponent <MeshRenderer>().material = captureCellMaterial; } }
public void MarkAsCanBeDragger() { if (markStatus != ActionColorsType.canBeDraged) { markStatus = ActionColorsType.canBeDraged; cellMarker.GetComponent <MeshRenderer>().material = canBeDragedMaterial; } }
public void MarkAsSelected() { if (markStatus != ActionColorsType.selected) { markStatus = ActionColorsType.selected; cellMarker.GetComponent <MeshRenderer>().material = selectedMaterial; } }
public void MarkAsCastled() { if (markStatus != ActionColorsType.castle) { markStatus = ActionColorsType.castle; cellMarker.GetComponent <MeshRenderer>().material = castleCellMaterial; } }
public void ResetCellMark() { if (cellType == BoardCellType.black) { cellMarker.GetComponent <MeshRenderer>().material = defaultBlackMaterial; } else { cellMarker.GetComponent <MeshRenderer>().material = defaultWhiteMaterial; } markStatus = ActionColorsType.normal; }