FairyGUI.EMRenderSupport.Reload C# (CSharp) Method

Reload() public static method

当发生二进制重载时,或用户点击刷新菜单
public static Reload ( ) : void
return void
        public static void Reload()
        {
            if (Application.isPlaying)
                return;

            packageListReady = true;

            int cnt = _targets.Count;
            for (int i = 0; i < cnt; i++)
            {
                EMRenderTarget panel = _targets[i];
                panel.EM_Reload();
            }
        }

Usage Example

Example #1
0
 public void ApplyModifiedProperties()
 {
     EMRenderSupport.Reload();
 }