Update() 개인적인 메소드

Reposition the widget.
private Update ( ) : void
리턴 void
예제 #1
0
    /// <summary>
    /// Override the cursor with the specified sprite.
    /// </summary>

    static public void Set(UIAtlas atlas, string sprite)
    {
        if (instance != null && instance.mSprite)
        {
            instance.mSprite.atlas      = atlas;
            instance.mSprite.spriteName = sprite;
            instance.mSprite.MakePixelPerfect();
            instance.Update();
        }
    }
예제 #2
0
 public static void Set(UIAtlas atlas, string sprite)
 {
     if (mInstance != null)
     {
         mInstance.mSprite.atlas      = atlas;
         mInstance.mSprite.spriteName = sprite;
         mInstance.mSprite.MakePixelPerfect();
         mInstance.Update();
     }
 }