private void changeCursorAlfa(GameCursor cursor, float alfa) { Color temp = cursor.GetComponent <SpriteRenderer>().color; temp.a = alfa; cursor.GetComponent <SpriteRenderer>().color = temp; }