public void chooseTileToRotate() { if (highlight == null) { Vector3 highlightPosition = new Vector3(transform.position.x, transform.position.y, tileHighlight.transform.position.z); highlight = (GameObject)Instantiate(tileHighlight, highlightPosition, tileHighlight.transform.rotation); highlight.GetComponent <ChooseRotationTile>().tile = this; displayArrow(); Debug.Assert(associatedTile.canRotateSisterTile()); associatedTile.getSisterTile().GetComponent <TileBehaviorIHM>().chooseTileToRotate(); } }