Ejemplo n.º 1
0
 static TMPro_EventManager()
 {
     COMPUTE_DT_EVENT                = new FastAction <object, Compute_DT_EventArgs>();
     MATERIAL_PROPERTY_EVENT         = new FastAction <bool, Material>();
     FONT_PROPERTY_EVENT             = new FastAction <bool, TextMeshProFont>();
     SPRITE_ASSET_PROPERTY_EVENT     = new FastAction <bool, Object>();
     TEXTMESHPRO_PROPERTY_EVENT      = new FastAction <bool, TextMeshPro>();
     DRAG_AND_DROP_MATERIAL_EVENT    = new FastAction <GameObject, Material, Material>();
     TEXT_STYLE_PROPERTY_EVENT       = new FastAction <bool>();
     TEXTMESHPRO_UGUI_PROPERTY_EVENT = new FastAction <bool, TextMeshProUGUI>();
     BASE_MATERIAL_EVENT             = new FastAction <Material>();
     OnPreRenderObject_Event         = new FastAction();
     TEXT_CHANGED_EVENT              = new FastAction <Object>();
     WILL_RENDER_CANVASES            = new FastAction();
     Canvas.willRenderCanvases      += WILL_RENDER_CANVASES.Call;
 }