示例#1
0
    private void changeCursorAlfa(GameCursor cursor, float alfa)
    {
        Color temp = cursor.GetComponent <SpriteRenderer>().color;

        temp.a = alfa;
        cursor.GetComponent <SpriteRenderer>().color = temp;
    }