Exemple #1
0
    //-----------------------------------------------------------------------

    /**
     * Draw the wand on the HUD when player collects
     */
    public void DrawWand(int yPositionIn)
    {
        if (FireProjectile.PlayerHasWand())
        {
            yPositionIn += 20;
            int xPosition = ((Screen.width / 20) * 19);
            GUI.Label(new Rect(xPosition + 6, yPositionIn, width, 50), magicWand);
        }
    }