public static void ON_TEXT_STYLE_PROPERTY_CHANGED(bool isChanged)
 {
     TEXT_STYLE_PROPERTY_EVENT.Call(isChanged);
 }
 public static void ON_COLOR_GRAIDENT_PROPERTY_CHANGED(TMP_ColorGradient gradient)
 {
     COLOR_GRADIENT_PROPERTY_EVENT.Call(gradient);
 }
 public static void ON_TEXTMESHPRO_PROPERTY_CHANGED(bool isChanged, TextMeshPro obj)
 {
     TEXTMESHPRO_PROPERTY_EVENT.Call(isChanged, obj);
 }
 public static void ON_DRAG_AND_DROP_MATERIAL_CHANGED(GameObject sender, Material currentMaterial, Material newMaterial)
 {
     DRAG_AND_DROP_MATERIAL_EVENT.Call(sender, currentMaterial, newMaterial);
 }
 public static void ON_FONT_PROPERTY_CHANGED(bool isChanged, TMP_FontAsset font)
 {
     FONT_PROPERTY_EVENT.Call(isChanged, font);
 }
 public static void ON_SPRITE_ASSET_PROPERTY_CHANGED(bool isChanged, Object obj)
 {
     SPRITE_ASSET_PROPERTY_EVENT.Call(isChanged, obj);
 }
        //public static readonly FastAction WILL_RENDER_CANVASES = new FastAction();



        //static TMPro_EventManager()
        //{
        //    // Register to the willRenderCanvases callback once
        //    // then the WILL_RENDER_CANVASES FastAction will handle the rest
        //    Canvas.willRenderCanvases += WILL_RENDER_CANVASES.Call;
        //}

        public static void ON_PRE_RENDER_OBJECT_CHANGED()
        {
            OnPreRenderObject_Event.Call();
        }
예제 #8
0
 public static void ON_FONT_PROPERTY_CHANGED(bool isChanged, Object obj)
 {
     FONT_PROPERTY_EVENT.Call(isChanged, obj);
 }
        //public static void ON_PROGRESSBAR_UPDATE(Progress_Bar_EventTypes event_type, Progress_Bar_EventArgs eventArgs)
        //{
        //    if (PROGRESS_BAR_EVENT != null)
        //        PROGRESS_BAR_EVENT(event_type, eventArgs);
        //}

        public static void ON_COMPUTE_DT_EVENT(object Sender, Compute_DT_EventArgs e)
        {
            COMPUTE_DT_EVENT.Call(Sender, e);
        }
 public static void ON_RESOURCES_LOADED()
 {
     RESOURCE_LOAD_EVENT.Call();
 }
 public static void ON_BASE_MATERIAL_CHANGED(Material mat)
 {
     BASE_MATERIAL_EVENT.Call(mat);
 }
예제 #12
0
 public static void ON_COLOR_GRADIENT_PROPERTY_CHANGED(Object obj)
 {
     COLOR_GRADIENT_PROPERTY_EVENT.Call(obj);
 }
예제 #13
0
 public static void ON_TEXTMESHPRO_PROPERTY_CHANGED(bool isChanged, Object obj)
 {
     TEXTMESHPRO_PROPERTY_EVENT.Call(isChanged, obj);
 }
 public static void ON_TEXT_CHANGED(Object obj)
 {
     TEXT_CHANGED_EVENT.Call(obj);
 }
 public static void ON_MATERIAL_PROPERTY_CHANGED(bool isChanged, Material mat)
 {
     MATERIAL_PROPERTY_EVENT.Call(isChanged, mat);
 }
 public static void ON_TMP_SETTINGS_CHANGED()
 {
     TMP_SETTINGS_PROPERTY_EVENT.Call();
 }
예제 #17
0
 public static void ON_FONT_PROPERTY_CHANGED(bool isChanged, TextMeshProFont font)
 {
     FONT_PROPERTY_EVENT.Call(isChanged, font);
 }