private void OQDODCODOQ(string ctrl, MarkerScript markerScript) { int num = 0; Transform[] oCQOCOCQQOs = markerScript.OCQOCOCQQOs; for (int i = 0; i < (int)oCQOCOCQQOs.Length; i++) { MarkerScript component = oCQOCOCQQOs[i].GetComponent <MarkerScript>(); if (ctrl == "rs") { component.LeftSurrounding(markerScript.rs - markerScript.ODOQQOOO, markerScript.trperc[num]); } else if (ctrl == "ls") { component.RightSurrounding(markerScript.ls - markerScript.DODOQQOO, markerScript.trperc[num]); } else if (ctrl == "ri") { component.LeftIndent(markerScript.ri - markerScript.OOQOQQOO, markerScript.trperc[num]); } else if (ctrl == "li") { component.RightIndent(markerScript.li - markerScript.ODODQQOO, markerScript.trperc[num]); } else if (ctrl == "rt") { component.LeftTilting(markerScript.rt - markerScript.ODDQODOO, markerScript.trperc[num]); } else if (ctrl == "lt") { component.RightTilting(markerScript.lt - markerScript.ODDOQOQQ, markerScript.trperc[num]); } else if (ctrl == "floorDepth") { component.FloorDepth(markerScript.floorDepth - markerScript.oldFloorDepth, markerScript.trperc[num]); } num++; } }
private void ODDQODCQDQ(string ctrl, MarkerScript markerScript) { int i = 0; foreach (Transform tr in markerScript.ODQDODOODQs) { MarkerScript wsScript = (MarkerScript)tr.GetComponent <MarkerScript>(); if (ctrl == "rs") { wsScript.LeftSurrounding(markerScript.rs - markerScript.ODOQQOOO, markerScript.trperc[i]); } else if (ctrl == "ls") { wsScript.RightSurrounding(markerScript.ls - markerScript.DODOQQOO, markerScript.trperc[i]); } else if (ctrl == "ri") { wsScript.LeftIndent(markerScript.ri - markerScript.OOQOQQOO, markerScript.trperc[i]); } else if (ctrl == "li") { wsScript.RightIndent(markerScript.li - markerScript.ODODQQOO, markerScript.trperc[i]); } else if (ctrl == "rt") { wsScript.LeftTilting(markerScript.rt - markerScript.ODDQODOO, markerScript.trperc[i]); } else if (ctrl == "lt") { wsScript.RightTilting(markerScript.lt - markerScript.ODDOQOQQ, markerScript.trperc[i]); } else if (ctrl == "floorDepth") { wsScript.FloorDepth(markerScript.floorDepth - markerScript.oldFloorDepth, markerScript.trperc[i]); } i++; } }
private void OQDODCODOQ(string ctrl, MarkerScript markerScript) { int index = 0; foreach (Transform transform in markerScript.OCQOCOCQQOs) { MarkerScript component = transform.GetComponent <MarkerScript>(); if (ctrl == "rs") { component.LeftSurrounding(markerScript.rs - markerScript.ODOQQOOO, markerScript.trperc[index]); } else if (ctrl == "ls") { component.RightSurrounding(markerScript.ls - markerScript.DODOQQOO, markerScript.trperc[index]); } else if (ctrl == "ri") { component.LeftIndent(markerScript.ri - markerScript.OOQOQQOO, markerScript.trperc[index]); } else if (ctrl == "li") { component.RightIndent(markerScript.li - markerScript.ODODQQOO, markerScript.trperc[index]); } else if (ctrl == "rt") { component.LeftTilting(markerScript.rt - markerScript.ODDQODOO, markerScript.trperc[index]); } else if (ctrl == "lt") { component.RightTilting(markerScript.lt - markerScript.ODDOQOQQ, markerScript.trperc[index]); } else if (ctrl == "floorDepth") { component.FloorDepth(markerScript.floorDepth - markerScript.oldFloorDepth, markerScript.trperc[index]); } index++; } }