PageSourceSearch

https://www.sebaslab.com/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it/

html sebaslab.com collected 2026-10-02 05:14:52 UTC 139,387 bytes, 1,032 lines download raw bytes

1<!DOCTYPE html>
2<html lang="en-GB" class="no-js">
3
4<head>
5<meta charset="UTF-8" />
6<style id="jetpack-boost-critical-css">@media all{#jp-relatedposts{display:none;padding-top:1em;margin:1em 0;position:relative;clear:both}.jp-relatedposts::after{content:"";display:block;clear:both}#jp-relatedposts h3.jp-relatedposts-headline{margin:0 0 1em 0;display:inline-block;float:left;font-size:9pt;font-weight:700;font-family:inherit}#jp-relatedposts h3.jp-relatedposts-headline em::before{content:"";display:block;width:100%;min-width:30px;border-top:1px solid rgb(0 0 0/.2);margin-bottom:1em}#jp-relatedposts h3.jp-relatedposts-headline em{font-style:normal;font-weight:700}.fab,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-address-card:before{content:""}.fa-at:before{content:""}.fa-bell:before{content:""}.fa-bell-slash:before{content:""}.fa-bolt:before{content:""}.fa-discord:before{content:""}.fa-fire:before{content:""}.fa-github:before{content:""}.fa-link:before{content:""}.fa-linkedin:before{content:""}.fa-search:before{content:""}.fa-sort-down:before{content:""}.fa-twitter:before{content:""}.fa-user:before{content:""}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:swap}.fab{font-family:"Font Awesome 5 Brands";font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:swap}.far{font-family:"Font Awesome 5 Free";font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:swap}.fas{font-family:"Font Awesome 5 Free";font-weight:900}#comments p{float:none!important}#wpdcom *{box-sizing:border-box;line-height:initial}#wpdcom i{margin:0}#comments #wpdcom span,#wpdcom span{display:inline;letter-spacing:inherit;text-transform:none;font-size:1em}#wpdcom form{margin:0;padding:0;border:none;background:0 0}#wpdcom input:required{box-shadow:0 0 1px #555}#wpdcom button{min-height:auto;min-width:auto;max-width:auto;min-height:auto;display:inline-block;font-weight:400;text-transform:none}#wpdcom .avatar{padding:0;margin:0 auto;float:none;display:inline;height:auto;border:none;border-radius:0;box-shadow:none}#wpdcom .wpdiscuz-hidden{display:none}#wpdcom .clearfix{clear:both}#wpdcom .wpdlb{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute}[wpd-tooltip]{position:relative}[wpd-tooltip]::before{content:"";position:absolute;top:-8px;left:50%;transform:translateX(-50%);border-width:7px 7px 0 7px;border-style:solid;border-color:#555 #fff0 #fff0 #fff0;z-index:100;opacity:0}[wpd-tooltip]::after{content:attr(wpd-tooltip);position:absolute;left:50%;top:-8px;transform:translateX(-50%) translateY(-100%);background:#555;text-align:center;color:#fff;padding:8px 10px;font-size:11px;line-height:1.5;min-width:6vw;border-width:0;border-radius:4px;z-index:99;opacity:0;text-transform:none}.wpd-post-rating .wpd-rating-wrap .wpd-rating-value span{color:#666;display:block!important}.wpd-post-rating .wpd-rating-wrap .wpd-rating-value .wpdrc{font-size:18px!important;line-height:16px!important;display:none!important;padding-top:17px!important}.wpd-post-rating .wpd-rating-wrap .wpd-rating-value .wpdrt{font-size:10px!important;line-height:16px!important;display:none!important;padding-top:0!important;font-style:normal;font-family:Arial,sans-serif}.wpd-post-rating .wpd-rating-wrap .wpd-rate-starts{display:none;margin-top:7px;flex-wrap:nowrap;flex-direction:row;justify-content:center}.wpd-post-rating .wpd-rating-wrap .wpd-rate-starts svg{width:26px;height:26px;display:block;margin-right:-3px}#wpdcom .wpdiscuz-subscribe-bar{width:100%;box-sizing:border-box;padding:15px 0 5px 0;margin-bottom:0}#wpdcom .wpdiscuz-subscribe-bar form{display:flex;flex-wrap:wrap;justify-content:flex-start;flex-direction:row;align-items:center;margin-bottom:10px}#wpdcom .wpdiscuz-subscribe-form-intro{font-size:14px;display:block;padding:3px 10px 3px 1px;line-height:20px;box-sizing:border-box;white-space:nowrap}#wpdcom .wpdiscuz-subscribe-form-option{flex-grow:1;font-size:13px;display:block;padding-right:5px;box-sizing:border-box}#wpdcom .wpdiscuz-subscribe-form-email{font-size:14px;display:block;padding:0 5px 0 0;box-sizing:border-box;width:30%}#wpdcom .wpdiscuz-subscribe-form-button{font-size:14px;display:block;box-sizing:border-box}#wpdcom .wpdiscuz-subscribe-form-email input[type=email]{font-size:13px!important;padding:3px!important;width:100%!important;height:auto!important;line-height:20px!important;box-sizing:border-box!important;clear:both;float:none;margin:0}#wpdcom .wpdiscuz-subscribe-form-button input[type=submit]{font-size:16px!important;min-height:29px!important;height:29px!important;padding:1px 3px 5px 3px!important;min-width:40px;line-height:14px!important;box-sizing:border-box!important;border:1px solid #ddd;clear:both;float:none;margin:0}#wpdcom .wpdiscuz-subscribe-bar #wpdiscuz_subscription_button{box-shadow:none;font-weight:700;letter-spacing:0}#wpdcom .wpd-form .wpdiscuz-textarea-wrap{display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:space-between;padding:20px 0;align-items:center}#wpdcom .wpd-form .wpdiscuz-textarea-wrap [id^=wpd-editor-wraper]{flex-grow:1;position:relative;width:100%}#wpdcom .wpd-form .wpdiscuz-textarea-wrap [id^=wpd-editor-wraper] textarea{width:100%}#wpdcom .wpd-form .wpd-avatar{margin-right:15px;border-radius:100%;text-align:left;flex-shrink:0;align-self:flex-start}#wpdcom .wpd-form .wpd-avatar img,#wpdcom .wpd-form .wpd-avatar img.avatar{width:56px;height:56px;max-width:56px;border-radius:100%;border:1px solid #ccc;padding:2px;background-color:#fff;vertical-align:middle;text-align:center}#wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea{height:54px;border-radius:5px;border:1px solid #ccc;width:100%;padding:10px 15px;font-size:14px;box-shadow:inset 1px 1px 8px rgb(0 0 0/.1);font-family:inherit;outline:0;resize:none}#wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea::-moz-placeholder{line-height:28px;color:#666;font-size:16px}#wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea::-webkit-input-placeholder{line-height:28px;color:#666;font-size:16px}#wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea:-ms-input-placeholder{line-height:28px;color:#666;font-size:16px}#wpdcom .wpd-form.wpd-secondary-form-wrapper{margin-bottom:25px}#wpdcom .wpd-form.wpd-secondary-form-wrapper .wpdiscuz-textarea-wrap{padding-top:10px}#wpdcom .wpd-form .wpdiscuz-textarea-wrap{padding-bottom:10px}#wpdcom .wpd-form .wpdiscuz-textarea-wrap .wpd-editor-buttons-right{float:right}#wpdcom button,#wpdcom input[type=submit]{margin:inherit}#wpdcom .wpd-prim-button{border:none;font-family:"Arial Hebrew",Arial,sans-serif;font-size:14px;line-height:24px;padding:4px 20px;letter-spacing:1px;box-shadow:1px 1px 3px -1px #bbb;border-radius:3px;max-width:none;max-width:none}#wpdcom .wc-field-submit input[type=submit]{margin-left:2%}#wpdcom .wpd_label{margin:1px 0 5px 0;padding:0;display:inline-block}
6#wpdcom .wpd_label,#wpdcom .wpd_label span{display:inline-block}#wpdcom .wpd_label input[type=checkbox].wpd_label__checkbox{display:none}#wpdcom .wpd_label__checkbox{display:none}#wpdcom .wpd_label__check{display:inline-block;border:0;border-radius:0;vertical-align:middle;text-align:center;margin:0 3px 0 0}#wpdcom .wpd_label__check i.wpdicon{font-size:15px;line-height:20px;padding:4px 5px;width:32px;margin:0}#wpdcom .wpd_label__check i.wpdicon-on{display:none}#wpdcom .wpd_label__check i.wpdicon-off{display:inline-block;color:#aaa;border:1px solid #ddd}#wpdcom .wpd_label__checkbox:checked+.wpd_label__text .wpd_label__check .wpdicon-on{display:inline-block}#wpdcom .wpd_label__checkbox:checked+.wpd_label__text .wpd_label__check .wpdicon-off{display:none}#wpdcom .wpd-editor-char-counter{font-size:9px;padding:3px 5px 2px;position:absolute;right:0;z-index:10;color:#888}#wpdcom.wpdiscuz_unauth .wc-field-submit{padding-top:15px}#wpdcom .wpd-form-foot{margin-left:70px}#wpdcom .wpd-form-row .wpdiscuz-item{clear:both}#wpdcom .wpd-form-row .wpd-form-col-left{width:49%;float:left;margin:0;text-align:left;padding:0}#wpdcom .wpd-form-row .wpd-form-col-right{width:49%;float:right;margin:0;text-align:right;padding:0}#wpdcom .wpd-form-row .wpd-form-col-left .wpdiscuz-item{text-align:left}#wpdcom .wpd-form-row .wpdiscuz-item{width:100%;vertical-align:baseline;padding:1px 0 7px 0;position:relative}#wpdcom .wpd-form-row .wpd-field{width:100%;line-height:20px;color:#777;display:inline-block;float:none;clear:both;margin:0;box-sizing:border-box;padding-top:2%;padding-bottom:2%;font-size:14px;border-radius:3px;vertical-align:baseline}#wpdcom .wpd-form-row .wpd-has-icon .wpd-field{padding-left:30px}#wpdcom .wpd-form-row .wpdiscuz-item .wpd-field-icon{display:inline-block;font-size:16px;line-height:16px;opacity:.3;padding:0;margin:0;position:absolute;top:9px;left:8px;width:20px;text-align:left}#wpdcom .wpd-form-row .wpdiscuz-item input[type=email],#wpdcom .wpd-form-row .wpdiscuz-item input[type=text]{height:32px}.wpdiscuz_select{background:url(data:image/png;\ base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjBBRUQ1QTQ1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjBBRUQ1QTU1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMEFFRDVBMjVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMEFFRDVBMzVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pk5mU4QAAACUSURBVHjaYmRgYJD6////MwY6AyaGAQIspCieM2cOjKkIxCFA3A0TSElJoZ3FUCANxAeAWA6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC) #fefefe no-repeat scroll right center!important;border-radius:0;border:1px solid #d3d3d3!important;box-shadow:none!important;height:28px!important;padding:3px 22px 3px 8px!important;font-size:13px!important;-moz-appearance:none!important;-webkit-appearance:none!important;outline:0 none!important;text-indent:.01px;text-overflow:""!important;width:100%!important;box-sizing:border-box!important;line-height:20px!important;clear:both;float:none!important;margin:0!important}#wpdcom .wc-field-submit{text-align:right;padding:1px 2px 0 0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:flex-start}#wpdcom .wpd-form-col-left div:last-of-type,#wpdcom .wpd-form-col-right div:last-of-type{border-bottom:none}#wpdcom .wpd-thread-filter .wpd-filter{font-size:16px;color:#999;border-bottom:2px solid #999;text-align:center;padding:5px 10px;margin:0 1px -2px 1px;line-height:18px}#wpdcom .wpd-thread-filter .wpdf-reacted{color:#ffa600;border-bottom-color:#ffa600;width:34px}#wpdcom .wpd-thread-filter .wpdf-hottest{color:#fc5844;border-bottom-color:#fc5844;width:34px}#wpdcom .wpd-thread-filter .wpdf-sorting{font-size:14px;
6color:#777;line-height:18px;text-transform:capitalize;min-width:100px;font-family:"Arial Hebrew",Arial,sans-serif}#wpdcom .wpd-thread-filter .wpdf-sorting i{font-size:15px;margin-left:6px;vertical-align:top;line-height:14px}#wpdcom .wpdf-sorting{position:relative}#wpdcom .wpdiscuz-sort-buttons{display:none;position:absolute;flex-direction:column;background-color:#fff;border:1px solid #ccc;padding:5px;border-radius:3px;width:100%;left:0;top:32px;z-index:9}#wpdcom .wpdiscuz-sort-buttons .wpdiscuz-sort-button{padding:5px 0}#wpdiscuz-comment-message{position:fixed;top:38px;right:5px;width:400px;z-index:99999;font-size:14px;line-height:20px}#wpd-editor-source-code-wrapper-bg{display:none;position:fixed;top:0;left:0;background-color:rgb(0 0 0/.6);width:100%;z-index:9999999;height:100%}#wpd-editor-source-code-wrapper{display:none;width:50%;height:350px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff;z-index:99999991;justify-content:center;align-items:center;padding:5px;border-radius:5px;text-align:right}#wpd-editor-source-code{height:300px;width:100%;resize:none}#wpd-insert-source-code{padding:3px 40px;margin-top:5px}#wpdiscuz-loading-bar{position:fixed;top:6px;right:12px;width:32px;height:25px;border:0;background-image:url(https://www.sebaslab.com/wp-content/plugins/wpdiscuz/assets/img/loading.gif);z-index:999999;display:none}#wpdcom .wpd-filter-container{width:100%;padding-bottom:1px}#wpdcom #bywpdiscuz{display:none}#wpdcom .by-wpdiscuz a{font-size:11px;font-weight:700;text-align:right;color:#ccc;padding:1px;margin:0;line-height:12px;border:0;text-decoration:none}#wpdcom .wpd-avatar img{border-color:#999}@media screen and (max-width:600px){#wpdcom .wpd-form .wpd-avatar{display:none}#wpdcom .wpd-form.wpd-form-wrapper{padding-right:5px}#wpdcom .wpdiscuz_select{font-size:16px!important}#wpdcom .wpdiscuz-subscribe-form-email{font-size:16px;display:block;padding:10px 0 0 0;width:98%;margin:0 auto}#wpdcom .wpdiscuz-subscribe-form-email input[type=email]{font-size:16px!important}#wpdcom .wpd-form .wpd-form-foot{margin-left:0}#wpdcom .wpd-form-row .wpd-form-col-left,#wpdcom .wpd-form-row .wpd-form-col-right{width:100%;float:none}#wpdcom .wpd-form-row .wpd-field,#wpdcom .wpd-form-row .wpdiscuz-item input[type=email],#wpdcom .wpd-form-row .wpdiscuz-item input[type=text],#wpdcom select,#wpdcom textarea{font-size:16px!important;height:auto}#wpdiscuz-comment-message{width:97%}#wpdcom .wpdiscuz-subscribe-form-button{width:99%;margin-top:8px}#wpdcom .wpdiscuz-subscribe-bar #wpdiscuz_subscription_button{width:100%;min-height:20px!important;height:26px!important}}.fab,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-search:before{content:""}.fa-user:before{content:""}.fa-twitter:before{content:""}.fa-link:before{content:""}.fa-linkedin:before{content:""}.fa-bolt:before{content:""}.fa-bell:before{content:""}.fa-bell-slash:before{content:""}.fa-address-card:before{content:""}.fa-fire:before{content:""}.fa-sort-down:before{content:""}.fa-at:before{content:""}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block}.fab{font-family:"Font Awesome 5 Brands"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block}.fab,.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block}.far,.fas{font-family:"Font Awesome 5 Free"}.fas{font-weight:900}.lity-hide{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,figcaption,figure,header,main,section{display:block}[hidden]{display:none}a{background-color:transparent}strong{font-weight:700}h1{font-size:2em;margin:.67em 0}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,pre{font-family:monospace,monospace;font-size:1em}button,input,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,input[type=submit]{-webkit-appearance:button}input{line-height:normal}input[type=checkbox]{box-sizing:border-box;padding:0}textarea{overflow:auto}.hgrid{width:100%;max-width:1380px;
6display:block;margin-left:auto;margin-right:auto}.hgrid-stretch{width:100%}.hgrid-stretch:after,.hgrid:after{content:"";display:table;clear:both}.hgrid-stretch:after,.hgrid:after{content:"";display:table;clear:both}[class*=hgrid-span-]{padding:0 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left;position:relative}.hgrid-span-12{width:100%}@media only screen and (max-width:1200px){[class*=hgrid-span-]{padding:0 10px}}@media only screen and (max-width:969px){[class*=hgrid-span-]{width:100%}}.table{display:table;width:100%;margin:0}.table-cell-mid{display:table-cell;vertical-align:middle}@media only screen and (max-width:969px){.table,.table-cell-mid{display:block}}.clearfix:after{content:"";display:table;clear:both}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}body{text-align:left;font-size:14px;line-height:1.71428571em;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;color:#666;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}h1,h2,h3{line-height:1.33333333em;font-family:Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;color:#444;margin:25px 0 15px;text-rendering:optimizelegibility;-ms-word-wrap:break-word;word-wrap:break-word}h1{font-size:1.71428571em}h2{font-size:1.57142857em}h3{font-size:1.42857143em}p{margin:.71428571em 0 1.78571429em}hr{border-style:solid;border-width:1px 0 0;clear:both;margin:1.78571429em 0 1.07142857em;height:0;color:#ddd}em{font-style:italic}strong{font-weight:700}a{color:#d22254;text-decoration:none}code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace}pre{overflow-x:auto}code{padding:2px 5px;margin:0 5px;border:dashed 1px}pre{display:block;padding:5px 10px;margin:1.07142857em 0;word-break:break-all;word-wrap:break-word;white-space:pre;white-space:pre-wrap;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8}pre code{padding:unset;margin:unset;border:unset}ol,ul{margin:0;padding:0;list-style:none outside}li{margin:0;padding:0;margin-right:10px}.main ol,.main ul{margin:1.07142857em;margin-right:0}.main ol{list-style:decimal outside}.main ul{list-style:disc outside}.main li{margin-right:0;display:list-item}form{margin-bottom:1.07142857em}input,label,select,textarea{font-size:1em;font-weight:400;line-height:1.4em}label{max-width:100%;display:inline-block;font-weight:700}input[type=email],input[type=text],select,textarea{-webkit-appearance:none;border:1px solid #ddd;padding:6px 8px;color:#666;margin:0;max-width:100%;display:inline-block;background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=submit]{width:auto}input[type=checkbox]{display:inline}input[type=checkbox]{line-height:normal;margin:4px 0 0}textarea{height:auto;min-height:60px}select{width:215px;background:#fff url(https://www.sebaslab.com/wp-content/themes/magazine-hoot/images/select.png) no-repeat center right}input:-moz-placeholder,input:-ms-input-placeholder,textarea:-moz-placeholder,textarea:-ms-input-placeholder{color:inherit;opacity:.5}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:inherit;opacity:.5}input[type=submit]{background:#d22254;color:#fff;display:inline-block;border:0;text-transform:uppercase;font-weight:400;-webkit-box-shadow:inset 0-2px 0 0 rgba(0,0,0,.33);-moz-box-shadow:inset 0-2px 0 0 rgba(0,0,0,.33);box-shadow:inset 0-2px 0 0 rgba(0,0,0,.33)}input[type=submit]{padding:6px 23px 8px;font-size:.78571429em;line-height:1.833333em;margin-top:5px;margin-bottom:5px;border:solid 1px rgba(0,0,0,.15)}figure{margin:0;max-width:100%}a img,img{border:0;padding:0;margin:0 auto;display:inline-block;max-width:100%;height:auto;image-rendering:optimizeQuality;vertical-align:top}img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.aligncenter{clear:both;display:block;margin:1.07142857em auto;text-align:center}.avatar{display:inline-block}body{background:#f7f7f7;border-top:solid 3px #d22254}#page-wrapper{width:100%;display:block;margin:0 auto}#topbar{overflow:hidden}.content.no-sidebar{float:none;margin-left:auto;margin-right:auto}#topbar{background:#fff;border-bottom:solid 1px #eee;color:#aaa;font-size:.85714286em;line-height:1.5em}.topbar-inner a{color:inherit;text-decoration:underline}#topbar-left{text-align:left;width:50%}#topbar-right{text-align:right;overflow:hidden;padding-right:5px;width:50%}.topbar-right-inner{float:right}#topbar .widget{margin:0;display:inline-block;vertical-align:middle}
6#topbar .searchbody{display:inline-block;vertical-align:middle;background:0}#topbar .searchform{margin-bottom:0;display:inline-block;border:0}#topbar input{padding:9px 7px 9px 35px;line-height:inherit}#topbar i.fa-search{position:absolute;top:45%;margin-top:-.5em;left:13px;color:#888;font-size:14px}@media only screen and (max-width:969px){#topbar-left{text-align:center;width:auto;margin:0-10px}#topbar-right{text-align:center;width:auto;padding:0;margin:0-10px;border-top:solid 1px #eee;border-color:rgba(80,80,80,.15)}.topbar-right-inner{float:none}}#header{position:relative}.site-header .table{table-layout:fixed}#header-primary{border-bottom:solid 1px #ddd}#header-aside{text-align:right}@media only screen and (max-width:969px){#header #branding,#header #header-aside,#header .table{width:100%}#header-aside,#header-primary{text-align:center}#header .hgrid-span-12{padding:0}}#site-logo{margin:35px 0 35px;max-width:100%;display:inline-block;vertical-align:top}.header-primary-widget-area #site-logo{padding-right:15px}#site-title{font-family:Oswald,"Helvetica Neue",Helvetica,Arial,sans-serif;color:#444;margin:0;font-weight:500;font-size:55px;line-height:1em;vertical-align:middle;word-wrap:normal}#site-title a{color:inherit}#site-description{margin:0;font-family:inherit;font-size:.85714286em;font-weight:400;color:#444;line-height:1em;text-transform:uppercase;vertical-align:middle}.site-logo-text-small #site-title{font-size:40px}.site-logo-with-image{display:table;table-layout:fixed}.site-logo-with-image .site-logo-mixed-image{display:table-cell;vertical-align:middle;padding-right:15px}.site-logo-with-image .site-logo-mixed-text{display:table-cell;vertical-align:middle}.branding img{max-height:600px}.site-logo-mixed-image img{vertical-align:middle}@media only screen and (max-width:969px){#site-logo{display:block}#header-primary #site-logo{padding-right:0;padding-left:0}#page-wrapper #site-description,#page-wrapper #site-title{text-align:center;margin:0;display:block}.site-logo-with-image{display:block;text-align:center}.site-logo-with-image .site-logo-mixed-image{margin:0 auto 10px}.site-logo-with-image .site-logo-mixed-image,.site-logo-with-image .site-logo-mixed-text{display:block;padding:0}}#main.main{padding-bottom:2.85714286em;overflow:hidden;background:#fff}#loop-meta{position:relative}#loop-meta.pageheader-bg-default{background:0;border-bottom:solid 1px #ddd}.loop-meta{float:none;text-align:center;background-size:contain;padding:45px 0}.loop-title{margin:0;font-size:1.42857143em}.entry-byline{font-size:.78571429em;line-height:1.454545em;text-transform:uppercase;margin-top:5px}.entry-byline-block{display:inline}.entry-byline-block:after{content:"/";margin:0 7px;font-size:1.181818em}.entry-byline-block:last-of-type:after{display:none}.entry-byline a{color:inherit}.entry-byline-label{margin-right:3px}.content{margin-top:2.85714286em}.entry-content{border-bottom:solid 1px #ddd}.entry-the-content{margin-bottom:2.85714286em}.entry-the-content h2:first-child,.entry-the-content h3:first-child,.entry-the-content p:first-child{margin-top:0}.entry-the-content:after{content:"";display:table;clear:both}.entry-the-content:after{content:"";display:table;clear:both}.widget{margin:45px 0;position:relative}.searchbody{background:#f5f5f5;background:rgba(0,0,0,.05);vertical-align:middle}.searchbody input{background:0;color:inherit;border:0;padding:10px 17px 10px 32px;width:100%;vertical-align:bottom;display:block}.searchform{position:relative;overflow:hidden}.searchform .submit{position:absolute;top:50%;transform:translateY(-50%);right:-9999rem;width:auto;line-height:1em;margin:0;padding:5px}.searchbody i.fa-search{margin-right:10px;position:absolute;top:50%;margin-top:-.5em;left:10px}#topbar .submit{padding:5px}.announce-widget{padding:5px;position:relative;vertical-align:middle}.announce-link{display:block;position:absolute;z-index:9;top:0;bottom:0;left:0;right:0}.announce-link span{display:none}.announce-withbg{padding:9px 17px 8px}.announce-box.table{table-layout:auto;width:auto}.announce-box-icon{width:1em;font-size:1.6666em;padding-right:8px}@media only screen and (max-width:969px){.announce-box-content,.announce-box-icon{display:table-cell}}.alignwide{max-width:none;text-align:center}.sidebars0 .alignwide{margin-left:-3em;margin-right:-3em}.wp-block-image{margin:.71428571em 0 1.78571429em}.aligncenter{margin:1.07142857em auto}.wordpress figcaption{background:rgb(0 0 0/.03);color:inherit;margin:0;padding:5px;font-size:.78571429em;line-height:1.454545em;text-align:center}.sd-content ul li a.sd-button>
6span,.sd-social-icon-text .sd-content ul li a.sd-button>span{line-height:23px;margin-left:6px}}</style><meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' />
7<meta name="viewport" content="width=device-width, initial-scale=1" />
8<meta name="generator" content="Magazine Hoot 1.9.22" />
9<!-- Jetpack Site Verification Tags -->
10<meta name="google-site-verification" content="MC2UWxNOwsiMElYWf1Ooyeuhw7MDF2v7EhMbMJxiHLg">
11
12	<!-- This site is optimized with the Yoast SEO plugin v28.6 - https://yoast.com/product/yoast-seo-wordpress/ -->
13	<title>What&#039;s Wrong with Unity SendMessage and BroadcastMessage functions</title>
14	<meta name="description" content="Emblematic example of Unity bad code design are the SendMessage and BroadcastMessage functions. If you use them, you should stop already! What to use then?" />
15	<link rel="canonical" href="https://www.sebaslab.com/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it/" />
16	<meta property="og:locale" content="en_GB" />
17	<meta property="og:type" content="article" />
18	<meta property="og:title" content="What&#039;s Wrong with Unity SendMessage and BroadcastMessage functions" />
19	<meta property="og:description" content="Emblematic example of Unity bad code design are the SendMessage and BroadcastMessage functions. If you use them, you should stop already! What to use then?" />
20	<meta property="og:url" content="https://www.sebaslab.com/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it/" />
21	<meta property="og:site_name" content="Seba&#039;s Lab" />
22	<meta property="article:published_time" content="2013-04-25T21:04:50+00:00" />
23	<meta property="article:modified_time" content="2019-01-19T14:30:33+00:00" />
24	<meta property="og:image" content="https://i0.wp.com/www.sebaslab.com/wp-content/uploads/2015/03/logo2.png?fit=611%2C434&ssl=1" />
25	<meta property="og:image:width" content="611" />
26	<meta property="og:image:height" content="434" />
27	<meta property="og:image:type" content="image/png" />
28	<meta name="author" content="Sebastiano Mandalà" />
29	<meta name="twitter:card" content="summary_large_image" />
30	<meta name="twitter:creator" content="@sebify" />
31	<meta name="twitter:site" content="@sebify" />
32	<meta name="twitter:label1" content="Written by" />
33	<meta name="twitter:data1" content="Sebastiano Mandalà" />
34	<meta name="twitter:label2" content="Estimated reading time" />
35	<meta name="twitter:data2" content="4 minutes" />
36	
36<script data-jetpack-boost="ignore" type="application/ld+json" class="yoast-schema-graph">{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.sebaslab.com\/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it\/#article","isPartOf":{"@id":"https:\/\/www.sebaslab.com\/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it\/"},"author":{"name":"Sebastiano Mandalà","@id":"https:\/\/www.sebaslab.com\/#\/schema\/person\/d45862664d851fda878ceaf4246a0c62"},"headline":"What&#8217;s wrong with Unity SendMessage and BroadcastMessage and what to do about it","datePublished":"2013-04-25T21:04:50+00:00","dateModified":"2019-01-19T14:30:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sebaslab.com\/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it\/"},"wordCount":716,"commentCount":3,"publisher":{"@id":"https:\/\/www.sebaslab.com\/#\/schema\/person\/0eb7faab90abcb05e79f7e4450cc202f"},"keywords":["broadcastmessage","chain of responsibility","sendmessage","Unity","Unity3D"],"articleSection":["Other","Unity3D"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.sebaslab.com\/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.sebaslab.com\/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it\/","url":"https:\/\/www.sebaslab.com\/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it\/","name":"What's Wrong with Unity SendMessage and BroadcastMessage functions","isPartOf":{"@id":"https:\/\/www.sebaslab.com\/#website"},"datePublished":"2013-04-25T21:04:50+00:00","dateModified":"2019-01-19T14:30:33+00:00","description":"Emblematic example of Unity bad code design are the SendMessage and BroadcastMessage functions. If you use them, you should stop already! What to use then?","breadcrumb":{"@id":"https:\/\/www.sebaslab.com\/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sebaslab.com\/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sebaslab.com\/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sebaslab.com\/"},{"@type":"ListItem","position":2,"name":"broadcastmessage","item":"https:\/\/www.sebaslab.com\/tag\/broadcastmessage\/"},{"@type":"ListItem","position":3,"name":"What&#8217;s wrong with Unity SendMessage and BroadcastMessage and what to do about it"}]},{"@type":"WebSite","@id":"https:\/\/www.sebaslab.com\/#website","url":"https:\/\/www.sebaslab.com\/","name":"Seba's Lab","description":"The home of Svelto Entity Component System C# framework and advanced gamedev articles","publisher":{"@id":"https:\/\/www.sebaslab.com\/#\/schema\/person\/0eb7faab90abcb05e79f7e4450cc202f"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sebaslab.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/www.sebaslab.com\/#\/schema\/person\/0eb7faab90abcb05e79f7e4450cc202f","name":"Sebastiano Mandalà","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/i0.wp.com\/www.sebaslab.com\/wp-content\/uploads\/2015\/03\/logo2.png?fit=611%2C434&ssl=1","url":"https:\/\/i0.wp.com\/www.sebaslab.com\/wp-content\/uploads\/2015\/03\/logo2.png?fit=611%2C434&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.sebaslab.com\/wp-content\/uploads\/2015\/03\/logo2.png?fit=611%2C434&ssl=1","width":611,"height":434,"caption":"Sebastiano Mandalà"},"logo":{"@id":"https:\/\/i0.wp.com\/www.sebaslab.com\/wp-content\/uploads\/2015\/03\/logo2.png?fit=611%2C434&ssl=1"},"sameAs":["http:\/\/www.sebaslab.com\/","https:\/\/x.com\/sebify"]},{"@type":"Person","@id":"https:\/\/www.sebaslab.com\/#\/schema\/person\/d45862664d851fda878ceaf4246a0c62","name":"Sebastiano Mandalà","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/f093206a344754b6439cb046c60668fc49c33e1c74fa4ea45d77dac43a0cf116?s=96&d=retro&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f093206a344754b6439cb046c60668fc49c33e1c74fa4ea45d77dac43a0cf116?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f093206a344754b6439cb046c60668fc49c33e1c74fa4ea45d77dac43a0cf116?s=96&d=retro&r=g","caption":"Sebastiano Mandalà"},"sameAs":["https:\/\/x.com\/sebify"]}]}</script>
36
37	<!-- / Yoast SEO plugin. -->
38
39
40<link rel='dns-prefetch' href='//fonts.googleapis.com' />
41<link rel='dns-prefetch' href='//v0.wordpress.com' />
42<link rel='dns-prefetch' href='//www.googletagmanager.com' />
43<link rel='preconnect' href='//i0.wp.com' />
44<link rel='preconnect' href='//c0.wp.com' />
45<link rel="alternate" type="application/rss+xml" title="Seba&#039;s Lab &raquo; Feed" href="https://www.sebaslab.com/feed/" />
46<link rel="alternate" type="application/rss+xml" title="Seba&#039;s Lab &raquo; Comments Feed" href="https://www.sebaslab.com/comments/feed/" />
47<link rel="alternate" type="application/rss+xml" title="Seba&#039;s Lab &raquo; What&#8217;s wrong with Unity SendMessage and BroadcastMessage and what to do about it Comments Feed" href="https://www.sebaslab.com/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it/feed/" />
48<link rel="profile" href="http://gmpg.org/xfn/11" />
49<link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://www.sebaslab.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.sebaslab.com%2Fwhats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it%2F" />
50<link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://www.sebaslab.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.sebaslab.com%2Fwhats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it%2F&#038;format=xml" />
51<link rel="preload" href="https://www.sebaslab.com/wp-content/themes/magazine-hoot/hybrid/extend/css/webfonts/fa-solid-900.woff2" as="font" crossorigin="anonymous">
52<link rel="preload" href="https://www.sebaslab.com/wp-content/themes/magazine-hoot/hybrid/extend/css/webfonts/fa-regular-400.woff2" as="font" crossorigin="anonymous">
53<link rel="preload" href="https://www.sebaslab.com/wp-content/themes/magazine-hoot/hybrid/extend/css/webfonts/fa-brands-400.woff2" as="font" crossorigin="anonymous">
54<noscript><link rel='stylesheet' id='all-css-05820988542e91826a5125e1f67e10e8' href='https://www.sebaslab.com/wp-content/boost-cache/static/aef9af7111.min.css' type='text/css' media='all' /></noscript><link data-media="all" onload="this.media=this.dataset.media; delete this.dataset.media; this.removeAttribute( &apos;onload&apos; );" rel='stylesheet' id='all-css-05820988542e91826a5125e1f67e10e8' href='https://www.sebaslab.com/wp-content/boost-cache/static/aef9af7111.min.css' type='text/css' media="not all" />
55<style id="wpdiscuz-frontend-css-inline-css">
56 #wpdcom .wpd-blog-administrator .wpd-comment-label{color:#ffffff;background-color:#00B38F;border:none}#wpdcom .wpd-blog-administrator .wpd-comment-author, #wpdcom .wpd-blog-administrator .wpd-comment-author a{color:#00B38F}#wpdcom.wpd-layout-1 .wpd-comment .wpd-blog-administrator .wpd-avatar img{border-color:#00B38F}#wpdcom.wpd-layout-2 .wpd-comment.wpd-reply .wpd-comment-wrap.wpd-blog-administrator{border-left:3px solid #00B38F}#wpdcom.wpd-layout-2 .wpd-comment .wpd-blog-administrator .wpd-avatar img{border-bottom-color:#00B38F}#wpdcom.wpd-layout-3 .wpd-blog-administrator .wpd-comment-subheader{border-top:1px dashed #00B38F}#wpdcom.wpd-layout-3 .wpd-reply .wpd-blog-administrator .wpd-comment-right{border-left:1px solid #00B38F}#wpdcom .wpd-blog-editor .wpd-comment-label{color:#ffffff;background-color:#00B38F;border:none}#wpdcom .wpd-blog-editor .wpd-comment-author, #wpdcom .wpd-blog-editor .wpd-comment-author a{color:#00B38F}#wpdcom.wpd-layout-1 .wpd-comment .wpd-blog-editor .wpd-avatar img{border-color:#00B38F}#wpdcom.wpd-layout-2 .wpd-comment.wpd-reply .wpd-comment-wrap.wpd-blog-editor{border-left:3px solid #00B38F}#wpdcom.wpd-layout-2 .wpd-comment .wpd-blog-editor .wpd-avatar img{border-bottom-color:#00B38F}#wpdcom.wpd-layout-3 .wpd-blog-editor .wpd-comment-subheader{border-top:1px dashed #00B38F}#wpdcom.wpd-layout-3 .wpd-reply .wpd-blog-editor .wpd-comment-right{border-left:1px solid #00B38F}#wpdcom .wpd-blog-author .wpd-comment-label{color:#ffffff;background-color:#00B38F;border:none}#wpdcom .wpd-blog-author .wpd-comment-author, #wpdcom .wpd-blog-author .wpd-comment-author a{color:#00B38F}#wpdcom.wpd-layout-1 .wpd-comment .wpd-blog-author .wpd-avatar img{border-color:#00B38F}#wpdcom.wpd-layout-2 .wpd-comment .wpd-blog-author .wpd-avatar img{border-bottom-color:#00B38F}#wpdcom.wpd-layout-3 .wpd-blog-author .wpd-comment-subheader{border-top:1px dashed #00B38F}#wpdcom.wpd-layout-3 .wpd-reply .wpd-blog-author .wpd-comment-right{border-left:1px solid #00B38F}#wpdcom .wpd-blog-contributor .wpd-comment-label{color:#ffffff;background-color:#00B38F;border:none}#wpdcom .wpd-blog-contributor .wpd-comment-author, #wpdcom .wpd-blog-contributor .wpd-comment-author a{color:#00B38F}#wpdcom.wpd-layout-1 .wpd-comment .wpd-blog-contributor .wpd-avatar img{border-color:#00B38F}#wpdcom.wpd-layout-2 .wpd-comment .wpd-blog-contributor .wpd-avatar img{border-bottom-color:#00B38F}#wpdcom.wpd-layout-3 .wpd-blog-contributor .wpd-comment-subheader{border-top:1px dashed #00B38F}#wpdcom.wpd-layout-3 .wpd-reply .wpd-blog-contributor .wpd-comment-right{border-left:1px solid #00B38F}#wpdcom .wpd-blog-subscriber .wpd-comment-label{color:#ffffff;background-color:#00B38F;border:none}#wpdcom .wpd-blog-subscriber .wpd-comment-author, #wpdcom .wpd-blog-subscriber .wpd-comment-author a{color:#00B38F}#wpdcom.wpd-layout-2 .wpd-comment .wpd-blog-subscriber .wpd-avatar img{border-bottom-color:#00B38F}#wpdcom.wpd-layout-3 .wpd-blog-subscriber .wpd-comment-subheader{border-top:1px dashed #00B38F}#wpdcom .wpd-blog-wpseo_manager .wpd-comment-label{color:#ffffff;background-color:#00B38F;border:none}#wpdcom .wpd-blog-wpseo_manager .wpd-comment-author, #wpdcom .wpd-blog-wpseo_manager .wpd-comment-author a{color:#00B38F}#wpdcom.wpd-layout-1 .wpd-comment .wpd-blog-wpseo_manager .wpd-avatar img{border-color:#00B38F}#wpdcom.wpd-layout-2 .wpd-comment .wpd-blog-wpseo_manager .wpd-avatar img{border-bottom-color:#00B38F}#wpdcom.wpd-layout-3 .wpd-blog-wpseo_manager .wpd-comment-subheader{border-top:1px dashed #00B38F}#wpdcom.wpd-layout-3 .wpd-reply .wpd-blog-wpseo_manager .wpd-comment-right{border-left:1px solid #00B38F}#wpdcom .wpd-blog-wpseo_editor .wpd-comment-label{color:#ffffff;background-color:#00B38F;border:none}#wpdcom .wpd-blog-wpseo_editor .wpd-comment-author, #wpdcom .wpd-blog-wpseo_editor .wpd-comment-author a{color:#00B38F}#wpdcom.wpd-layout-1 .wpd-comment .wpd-blog-wpseo_editor .wpd-avatar img{border-color:#00B38F}#wpdcom.wpd-layout-2 .wpd-comment .wpd-blog-wpseo_editor .wpd-avatar img{border-bottom-color:#00B38F}#wpdcom.wpd-layout-3 .wpd-blog-wpseo_editor .wpd-comment-subheader{border-top:1px dashed #00B38F}#wpdcom.wpd-layout-3 .wpd-reply .wpd-blog-wpseo_editor .wpd-comment-right{border-left:1px solid #00B38F}#wpdcom .wpd-blog-post_author .wpd-comment-label{color:#ffffff;background-color:#00B38F;border:none}#wpdcom .wpd-blog-post_author .wpd-comment-author, #wpdcom .wpd-blog-post_author .wpd-comment-author a{color:#00B38F}#wpdcom .wpd-blog-post_author .wpd-avatar img{border-color:#00B38F}#wpdcom.wpd-layout-1 .wpd-comment .wpd-blog-post_author .wpd-avatar img{border-color:#00B38F}#wpdcom.wpd-layout-2 .wpd-comment.wpd-reply .wpd-comment-wrap.wpd-blog-post_author{border-left:3px solid #00B38F}#wpdcom.wpd-layout-2 .wpd-comment .wpd-blog-post_author .wpd-avatar img{border-bottom-color:#00B38F}#wpdcom.wpd-layout-3 .wpd-blog-post_author .wpd-comment-subheader{border-top:1px dashed #00B38F}#wpdcom.wpd-layout-3 .wpd-reply .wpd-blog-post_author .wpd-comment-right{border-left:1px solid #00B38F}#wpdcom .wpd-blog-guest .wpd-comment-label{color:#ffffff;background-color:#00B38F;border:none}#wpdcom .wpd-blog-guest .wpd-comment-author, #wpdcom .wpd-blog-guest .wpd-comment-author a{color:#00B38F}#wpdcom.wpd-layout-3 .wpd-blog-guest .wpd-comment-subheader{border-top:1px dashed #00B38F}#comments, #respond, .comments-area, #wpdcom{}#wpdcom .ql-editor >
56 *{color:#777777}#wpdcom .ql-editor::before{}#wpdcom .ql-toolbar{border:1px solid #DDDDDD;border-top:none}#wpdcom .ql-container{border:1px solid #DDDDDD;border-bottom:none}#wpdcom .wpd-form-row .wpdiscuz-item input[type="text"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="email"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="url"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="color"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="date"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="datetime"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="datetime-local"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="month"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="number"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="time"], #wpdcom textarea, #wpdcom select{border:1px solid #DDDDDD;color:#777777}#wpdcom .wpd-form-row .wpdiscuz-item textarea{border:1px solid #DDDDDD}#wpdcom input::placeholder, #wpdcom textarea::placeholder, #wpdcom input::-moz-placeholder, #wpdcom textarea::-webkit-input-placeholder{}#wpdcom .wpd-comment-text{color:#777777}#wpdcom .wpd-thread-head .wpd-thread-info{border-bottom:2px solid #00B38F}#wpdcom .wpd-thread-head .wpd-thread-info.wpd-reviews-tab svg{fill:#00B38F}#wpdcom .wpd-thread-head .wpdiscuz-user-settings{border-bottom:2px solid #00B38F}#wpdcom .wpd-thread-head .wpdiscuz-user-settings:hover{color:#00B38F}#wpdcom .wpd-comment .wpd-follow-link:hover{color:#00B38F}#wpdcom .wpd-comment-status .wpd-sticky{color:#00B38F}#wpdcom .wpd-thread-filter .wpdf-active{color:#00B38F;border-bottom-color:#00B38F}#wpdcom .wpd-inline-filter-cta{border:1px dashed #33c3a6;background:#e6f8f4}#wpdcom .wpd-inline-filter-cta .wpd-current-view i{color:#00B38F}#wpdcom .wpd-filter-view-all:hover{background:#00B38F}#wpdcom .wpdiscuz-item .wpdiscuz-rating > label{color:#DDDDDD}#wpdcom .wpdiscuz-item .wpdiscuz-rating:not(:checked) > label:hover, .wpdiscuz-rating:not(:checked) > label:hover ~ label{}#wpdcom .wpdiscuz-item .wpdiscuz-rating > input ~ label:hover, #wpdcom .wpdiscuz-item .wpdiscuz-rating >
56 input:not(:checked) ~ label:hover ~ label, #wpdcom .wpdiscuz-item .wpdiscuz-rating > input:not(:checked) ~ label:hover ~ label{color:#FFED85}#wpdcom .wpdiscuz-item .wpdiscuz-rating > input:checked ~ label:hover, #wpdcom .wpdiscuz-item .wpdiscuz-rating > input:checked ~ label:hover, #wpdcom .wpdiscuz-item .wpdiscuz-rating > label:hover ~ input:checked ~ label, #wpdcom .wpdiscuz-item .wpdiscuz-rating > input:checked + label:hover ~ label, #wpdcom .wpdiscuz-item .wpdiscuz-rating > input:checked ~ label:hover ~ label, .wpd-custom-field .wcf-active-star, #wpdcom .wpdiscuz-item .wpdiscuz-rating > input:checked ~ label{color:#FFD700}.wpd-post-rating .wpd-rating-wrap .wpd-rating-stars svg .wpd-star{fill:#DDDDDD}.wpd-post-rating .wpd-rating-wrap .wpd-rating-stars svg .wpd-active{fill:#FFD700}.wpd-post-rating .wpd-rating-wrap .wpd-rate-starts svg .wpd-star{fill:#DDDDDD}.wpd-post-rating .wpd-rating-wrap .wpd-rate-starts:hover svg .wpd-star{fill:#FFED85}.wpd-post-rating.wpd-not-rated .wpd-rating-wrap .wpd-rate-starts svg:hover ~ svg .wpd-star{fill:#DDDDDD}.wpdiscuz-post-rating-wrap .wpd-rating .wpd-rating-wrap .wpd-rating-stars svg .wpd-star{fill:#DDDDDD}.wpdiscuz-post-rating-wrap .wpd-rating .wpd-rating-wrap .wpd-rating-stars svg .wpd-active{fill:#FFD700}#wpdcom .wpd-comment .wpd-follow-active{color:#ff7a00}#wpdcom .page-numbers{color:#555;border:#555 1px solid}#wpdcom span.current{background:#555}#wpdcom.wpd-layout-1 .wpd-new-loaded-comment > .wpd-comment-wrap > .wpd-comment-right{background:#FFFAD6}#wpdcom.wpd-layout-2 .wpd-new-loaded-comment.wpd-comment > .wpd-comment-wrap > .wpd-comment-right{background:#FFFAD6}#wpdcom.wpd-layout-2 .wpd-new-loaded-comment.wpd-comment.wpd-reply > .wpd-comment-wrap > .wpd-comment-right{background:transparent}#wpdcom.wpd-layout-2 .wpd-new-loaded-comment.wpd-comment.wpd-reply > .wpd-comment-wrap{background:#FFFAD6}#wpdcom.wpd-layout-3 .wpd-new-loaded-comment.wpd-comment > .wpd-comment-wrap > .wpd-comment-right{background:#FFFAD6}#wpdcom .wpd-follow:hover i, #wpdcom .wpd-unfollow:hover i, #wpdcom .wpd-comment .wpd-follow-active:hover i{color:#00B38F}#wpdcom .wpdiscuz-readmore{cursor:pointer;color:#00B38F}.wpd-custom-field .wcf-pasiv-star, #wpcomm .wpdiscuz-item .wpdiscuz-rating > label{color:#DDDDDD}.wpd-wrapper .wpd-list-item.wpd-active{border-top:3px solid #00B38F}#wpdcom.wpd-layout-2 .wpd-comment.wpd-reply.wpd-unapproved-comment .wpd-comment-wrap{border-left:3px solid #FFFAD6}#wpdcom.wpd-layout-3 .wpd-comment.wpd-reply.wpd-unapproved-comment .wpd-comment-right{border-left:1px solid #FFFAD6}#wpdcom .wpd-prim-button{background-color:#555555;color:#FFFFFF}#wpdcom .wpd_label__check i.wpdicon-on{color:#555555;border:1px solid #aaaaaa}#wpd-bubble-wrapper #wpd-bubble-all-comments-count{color:#1DB99A}#wpd-bubble-wrapper > div{background-color:#1DB99A}#wpd-bubble-wrapper > #wpd-bubble #wpd-bubble-add-message{background-color:#1DB99A}#wpd-bubble-wrapper > #wpd-bubble #wpd-bubble-add-message::before{border-left-color:#1DB99A;border-right-color:#1DB99A}#wpd-bubble-wrapper.wpd-right-corner > #wpd-bubble #wpd-bubble-add-message::before{border-left-color:#1DB99A;border-right-color:#1DB99A}.wpd-inline-icon-wrapper path.wpd-inline-icon-first{fill:#1DB99A}.wpd-inline-icon-count{background-color:#1DB99A}.wpd-inline-icon-count::before{border-right-color:#1DB99A}.wpd-inline-form-wrapper::before{border-bottom-color:#1DB99A}.wpd-inline-form-question{background-color:#1DB99A}.wpd-inline-form{background-color:#1DB99A}.wpd-last-inline-comments-wrapper{border-color:#1DB99A}.wpd-last-inline-comments-wrapper::before{border-bottom-color:#1DB99A}.wpd-last-inline-comments-wrapper .wpd-view-all-inline-comments{background:#1DB99A}.wpd-last-inline-comments-wrapper .wpd-view-all-inline-comments:hover,.wpd-last-inline-comments-wrapper .wpd-view-all-inline-comments:active,.wpd-last-inline-comments-wrapper .wpd-view-all-inline-comments:focus{background-color:#1DB99A}#wpdcom .ql-snow .ql-tooltip[data-mode="link"]::before{content:"Enter link:"}#wpdcom .ql-snow .ql-tooltip.ql-editing a.ql-action::after{content:"Save"}.comments-area{width:auto}
57/*# sourceURL=wpdiscuz-frontend-css-inline-css */
58</style>
59<style id="maghoot-wpblocks-inline-css">
60.hgrid {max-width: 1260px;}
60 a,.widget .view-all a:hover {color: #e57614;} a:hover {color: #ac580f;} .accent-typo,.cat-label {background: #e57614;color: #ffffff;} .cat-typo-118 {background: #2279d2;color: #ffffff;border-color: #2279d2;} .cat-typo-45 {background: #1aa331;color: #ffffff;border-color: #1aa331;} .cat-typo-155 {background: #f7b528;color: #ffffff;border-color: #f7b528;} .cat-typo-157 {background: #21bad5;color: #ffffff;border-color: #21bad5;} .cat-typo-1 {background: #ee559d;color: #ffffff;border-color: #ee559d;} .cat-typo-52 {background: #bcba08;color: #ffffff;border-color: #bcba08;} .cat-typo-62 {background: #2279d2;color: #ffffff;border-color: #2279d2;} .cat-typo-61 {background: #1aa331;color: #ffffff;border-color: #1aa331;} .cat-typo-7 {background: #f7b528;color: #ffffff;border-color: #f7b528;} .invert-typo {color: #e2e2e2;} .enforce-typo {background: #e2e2e2;} input[type="submit"], #submit, .button {background: #e57614;color: #ffffff;} input[type="submit"]:hover, #submit:hover, .button:hover, input[type="submit"]:focus, #submit:focus, .button:focus {background: #ac580f;color: #ffffff;} h1, h2, h3, h4, h5, h6, .title, .titlefont {text-transform: none;} body {background-color: #f7f7f7;border-color: #e57614;} #topbar, #main.main, #header-supplementary,.sub-footer {background: #e2e2e2;} #site-title {text-transform: uppercase;} .site-logo-with-icon #site-title i {font-size: 50px;} .site-logo-mixed-image img {max-width: 100px;} .site-title-line b, .site-title-line em, .site-title-line strong {color: #e57614;} .menu-items > li.current-menu-item:not(.nohighlight) > a, .menu-items > li.current-menu-ancestor > a, .menu-items > li:hover > a,.sf-menu ul li:hover > a, .sf-menu ul li.current-menu-ancestor > a, .sf-menu ul li.current-menu-item:not(.nohighlight) > a {color: #e57614;} .entry-footer .entry-byline {color: #e57614;} .more-link {border-color: #e57614;color: #e57614;} .more-link a {background: #e57614;color: #ffffff;} .more-link a:hover {background: #ac580f;color: #ffffff;} .lSSlideOuter .lSPager.lSpg > li:hover a, .lSSlideOuter .lSPager.lSpg > li.active a {background-color: #e57614;} .frontpage-area.module-bg-accent {background-color: #e57614;} .widget-title > span.accent-typo {border-color: #e57614;} .content-block-style3 .content-block-icon {background: #e2e2e2;} .content-block-icon i {color: #e57614;} .icon-style-circle, .icon-style-square {border-color: #e57614;} .content-block-column .more-link a {color: #e57614;} .content-block-column .more-link a:hover {color: #ffffff;} #infinite-handle span,.lrm-form a.button, .lrm-form button, .lrm-form button[type=submit], .lrm-form #buddypress input[type=submit], .lrm-form input[type=submit] {background: #e57614;color: #ffffff;} .woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover {color: #ac580f;} :root .has-accent-color,.is-style-outline>.wp-block-button__link:not(.has-text-color), .wp-block-button__link.is-style-outline:not(.has-text-color) {color: #e57614;} :root .has-accent-background-color,.wp-block-button__link {background: #e57614;} :root .has-accent-font-color,.wp-block-button__link {color: #ffffff;} :root .has-accent-font-background-color {background: #ffffff;}
61/*# sourceURL=maghoot-wpblocks-inline-css */
62</style>
63<style id="wp-img-auto-sizes-contain-inline-css">
64img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px}
65/*# sourceURL=wp-img-auto-sizes-contain-inline-css */
66</style>
67<style id="wp-emoji-styles-inline-css">
68
69	img.wp-smiley, img.emoji {
70		display: inline !important;
71		border: none !important;
72		box-shadow: none !important;
73		height: 1em !important;
74		width: 1em !important;
75		margin: 0 0.07em !important;
76		vertical-align: -0.1em !important;
77		background: none !important;
78		padding: 0 !important;
79	}
80/*# sourceURL=wp-emoji-styles-inline-css */
81</style>
82<style id="wp-block-library-inline-css">
83:root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}
83.wp-element-button{cursor:pointer}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}:root .has-text-align-center{text-align:center}:root .has-text-align-left{text-align:left}:root .has-text-align-right{text-align:right}.has-fit-text{white-space:nowrap!important}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{word-wrap:normal!important;border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-break:normal!important}.screen-reader-text:focus{background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(.has-border-color){border-style:solid}html :where([style^=border-color],[style*=";border-color"],[style*="; border-color"]){border-style:solid}html :where([style^=border-top-color],[style*=";border-top-color"],[style*="; border-top-color"]){border-top-style:solid}html :where([style^=border-right-color],[style*=";border-right-color"],[style*="; border-right-color"]){border-right-style:solid}html :where([style^=border-bottom-color],[style*=";border-bottom-color"],[style*="; border-bottom-color"]){border-bottom-style:solid}html :where([style^=border-left-color],[style*=";border-left-color"],[style*="; border-left-color"]){border-left-style:solid}html :where([style^=border-width],[style*=";border-width"],[style*="; border-width"]){border-style:solid}html :where([style^=border-top-width],[style*=";border-top-width"],[style*="; border-top-width"]){border-top-style:solid}html :where([style^=border-right-width],[style*=";border-right-width"],[style*="; border-right-width"]){border-right-style:solid}html :where([style^=border-bottom-width],[style*=";border-bottom-width"],[style*="; border-bottom-width"]){border-bottom-style:solid}html :where([style^=border-left-width],[style*=";border-left-width"],[style*="; border-left-width"]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0px)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0px}}
84
85/*# sourceURL=/wp-includes/css/dist/block-library/common.min.css */
86</style>
87<style id="classic-theme-styles-inline-css">
88/*! This file is auto-generated */
89.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
90/*# sourceURL=/wp-includes/css/classic-themes.min.css */
91</style>
92
93<style id="global-styles-inline-css">
94:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--color--accent: #e57614;--wp--preset--color--accent-font: #ffffff;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgb(252,185,
940) 0%,rgb(255,105,0) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgb(255,105,0) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);--wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);}.wp-block-button{--wp--preset--dimension--25: 25%;--wp--preset--dimension--50: 50%;--wp--preset--dimension--75: 75%;--wp--preset--dimension--100: 100%;}:where(body) { margin: 0; }:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}body{padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;}:root :where(.wp-element-button, .wp-block-button__link){background-color: #32373c;border-width: 0;color: #fff;font-family: inherit;font-size: inherit;font-style: inherit;font-weight: inherit;letter-spacing: inherit;line-height: inherit;padding-top: calc(0.667em + 2px);padding-right: calc(1.333em + 2px);padding-bottom: calc(0.667em + 2px);padding-left: calc(1.333em + 2px);text-decoration: none;text-transform: inherit;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-accent-color{color: var(--wp--preset--color--accent) !important;}.has-accent-font-color{color: var(--wp--preset--color--accent-font) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-accent-background-color{background-color: var(--wp--preset--color--accent) !important;}.has-accent-font-background-color{background-color: var(--wp--preset--color--accent-font) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-accent-border-color{border-color: var(--wp--preset--color--accent) !important;}.has-accent-font-border-color{border-color: var(--wp--preset--color--accent-font) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}
94.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}
95/*# sourceURL=global-styles-inline-css */
96</style>
97
98<style id="jetpack-stats-inline-css">
99img#wpstats{display:none}
100/*# sourceURL=jetpack-stats-inline-css */
101</style>
102<noscript><link rel='stylesheet' id='maghoot-google-fonts-css' href='//fonts.googleapis.com/css?family=Roboto%3A400%2C500%2C700%7COswald%3A400%7COpen%2BSans%3A300%2C400%2C400i%2C500%2C600%2C700%2C700i%2C800&#038;subset=latin' media='all' />
103</noscript><link data-media="all" onload="this.media=this.dataset.media; delete this.dataset.media; this.removeAttribute( &apos;onload&apos; );" rel='stylesheet' id='maghoot-google-fonts-css' href='//fonts.googleapis.com/css?family=Roboto%3A400%2C500%2C700%7COswald%3A400%7COpen%2BSans%3A300%2C400%2C400i%2C500%2C600%2C700%2C700i%2C800&#038;subset=latin' media="not all" />
104
105
106
107
108<link rel="https://api.w.org/" href="https://www.sebaslab.com/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://www.sebaslab.com/wp-json/wp/v2/posts/379" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.sebaslab.com/xmlrpc.php?rsd" />
109<meta name="generator" content="WordPress 7.1.2" />
110<link rel='shortlink' href='https://www.sebaslab.com/?p=379' />
111<meta name="generator" content="Site Kit by Google 1.188.0" /><link rel="icon" href="https://i0.wp.com/www.sebaslab.com/wp-content/uploads/2019/01/1109796-200-e1547644549430.png?fit=32%2C32&#038;ssl=1" sizes="32x32" />
112<link rel="icon" href="https://i0.wp.com/www.sebaslab.com/wp-content/uploads/2019/01/1109796-200-e1547644549430.png?fit=130%2C130&#038;ssl=1" sizes="192x192" />
113<link rel="apple-touch-icon" href="https://i0.wp.com/www.sebaslab.com/wp-content/uploads/2019/01/1109796-200-e1547644549430.png?fit=130%2C130&#038;ssl=1" />
114<meta name="msapplication-TileImage" content="https://i0.wp.com/www.sebaslab.com/wp-content/uploads/2019/01/1109796-200-e1547644549430.png?fit=130%2C130&#038;ssl=1" />
115<style id="wp-custom-css">
116.post-gridunit-title a, .post-gridunit-title a:hover {
117    color: gold;
118	  text-shadow: 1px 1px #000000;
119}
120.entry-content a {
121	  color: #DC143C;
122	  font-size: 120%;
123}
124
125.main ul, .main ol {
126    margin-left: 10%;
127}
128
129.entry-content {
130  font-family: arial;
131	font-size: 120%;
132	line-height:1.6em;
133	color: black;
134}
135
136.loop-meta {
137	font-size: 140%;
138}
139
140.entry-content blockquote {
141	color: #444;
142	font-size: 95%;
143}
144
145.entry-content em,i
146{
147	color: orangered;
148	font-size: 102%
149}
150
151#main strong
152{
153	color: darkblue;
154}
155
156.content-block-title a {
157    color: darkred;	  
158}
159
160.title, h1, h2, h3, h4, h5, h6 
161{
162    color: darkred;
163}
164
165figcaption {
166    display: block;
167	font-style: italic;
168		font-size:90%;
169	color: brown;
170}
171
172p { margin: 1em 1em 1em 2em; }
173</style>
174</head>
175
176<body class="wordpress ltr en en-gb parent-theme y2026 m10 d02 h05 friday logged-out wp-custom-logo singular singular-post singular-post-379 post-template-default maghoot" dir="ltr" itemscope="itemscope" itemtype="https://schema.org/Blog">
177
178	
179	<a href="#main" class="screen-reader-text">Skip to content</a>
180
181		<div id="topbar" class=" topbar  inline-nav social-icons-invert hgrid-stretch">
182		<div class="hgrid">
183			<div class="hgrid-span-12">
184
185				<div class="topbar-inner table">
186											<div id="topbar-left" class="table-cell-mid">
187							<section id="hoot-announce-widget-3" class="widget widget_hoot-announce-widget">
188<div class="announce-widget announce-userstyle announce-withbg"  style="background:#000000;color:#ffffff;" >
189	<a href="https://github.com/sebas77" class="announce-link"><span>Click Here</span></a>	<div class="announce-box table">
190					<div class="announce-box-icon table-cell-mid"><i class="fa-github fab"></i></div>
191							<div class="announce-box-content table-cell-mid">
192				Github			</div>
193			</div>
194</div></section><section id="hoot-announce-widget-5" class="widget widget_hoot-announce-widget">
195<div class="announce-widget announce-userstyle announce-withbg"  style="background:#dd8500;color:#eded00;" >
196	<a href="https://discord.gg/3qAdjDb" class="announce-link"><span>Click Here</span></a>	<div class="announce-box table">
197					<div class="announce-box-icon table-cell-mid"><i class="fa-discord fab"></i></div>
198							<div class="announce-box-content table-cell-mid">
199				Discord			</div>
200			</div>
201</div></section><section id="hoot-announce-widget-9" class="widget widget_hoot-announce-widget">
202<div class="announce-widget announce-userstyle announce-withbg"  style="background:#1e73be;color:#ffefef;" >
203	<a href="https://twitter.com/Sebify" class="announce-link"><span>Click Here</span></a>	<div class="announce-box table">
204					<div class="announce-box-icon table-cell-mid"><i class="fa-twitter fab"></i></div>
205							<div class="announce-box-content table-cell-mid">
206				Follow me			</div>
207			</div>
208</div></section><section id="hoot-announce-widget-11" class="widget widget_hoot-announce-widget">
209<div class="announce-widget announce-userstyle announce-withbg"  style="background:#81d742;color:#8224e3;" >
210	<a href="https://www.linkedin.com/in/sebastiano/" class="announce-link"><span>Click Here</span></a>	<div class="announce-box table">
211					<div class="announce-box-icon table-cell-mid"><i class="fa-linkedin fab"></i></div>
212							<div class="announce-box-content table-cell-mid">
213				LinkedIn			</div>
214			</div>
215</div></section><section id="hoot-announce-widget-12" class="widget widget_hoot-announce-widget">
216<div class="announce-widget announce-userstyle announce-withbg"  style="background:#ea99fc;
216color:#7700ff;" >
217	<a href="https://www.sebaslab.com/hire-me/" class="announce-link"><span>Click Here</span></a>	<div class="announce-box table">
218					<div class="announce-box-icon table-cell-mid"><i class="fa-address-card far"></i></div>
219							<div class="announce-box-content table-cell-mid">
220				Hire me!			</div>
221			</div>
222</div></section>						</div>
223					
224											<div id="topbar-right" class="table-cell-mid">
225							<div class="topbar-right-inner">
226								<section id="search-4" class="widget widget_search"><div class="searchbody"><form method="get" class="searchform" action="https://www.sebaslab.com/" ><label class="screen-reader-text">Search</label><i class="fas fa-search"></i><input type="text" class="searchtext" name="s" placeholder="Type Search Term &hellip;" value="" /><input type="submit" class="submit" name="submit" value="Search" /><span class="js-search-placeholder"></span></form></div><!-- /searchbody --></section>							</div>
227						</div>
228									</div>
229
230			</div>
231		</div>
232	</div>
233	
234	<div id="page-wrapper" class=" site-stretch page-wrapper sitewrap-full-width sidebars0 maghoot-cf7-style maghoot-mapp-style maghoot-jetpack-style">
235
236		
237		<header id="header" class="site-header header-layout-primary-widget-area header-layout-secondary-none tablemenu" role="banner" itemscope="itemscope" itemtype="https://schema.org/WPHeader">
238
239			
240			<div id="header-primary" class=" header-part header-primary-widget-area">
241				<div class="hgrid">
242					<div class="table hgrid-span-12">
243							<div id="branding" class="site-branding branding table-cell-mid">
244		<div id="site-logo" class="site-logo-mixed">
245			<div id="site-logo-mixed" class="site-logo-with-image site-logo-text-small"><div class="site-logo-mixed-image"><a href="https://www.sebaslab.com/" class="custom-logo-link" rel="home"><img width="130" height="130" src="https://i0.wp.com/www.sebaslab.com/wp-content/uploads/2019/01/1109796-200-e1547644549430.png?fit=130%2C130&amp;ssl=1" class="custom-logo" alt="Seba&#039;s Lab" decoding="async" /></a></div><div class="site-logo-mixed-text"><div id="site-title" class="site-title" itemprop="headline"><a href="https://www.sebaslab.com" rel="home" itemprop="url"><span class="blogname">Seba&#039;s Lab</span></a></div><h2 class="site-description" id="site-description" itemprop="description">The home of Svelto Entity Component System C# framework and advanced gamedev articles</h2></div><!--site-logo-mixed-text--></div><!--logotext-->		</div>
246	</div><!-- #branding -->
247	<div id="header-aside" class=" header-aside table-cell-mid  header-aside-widget-area"></div>					</div>
248				</div>
249			</div>
250
251			
252		</header><!-- #header -->
253
254		
255		<div id="main" class=" main">
256			
257
258				<div id="loop-meta" class=" loop-meta-wrap pageheader-bg-default">
259					<div class="hgrid">
260
261						<div class=" loop-meta  hgrid-span-12" itemscope="itemscope" itemtype="https://schema.org/WebPageElement">
262							<div class="entry-header">
263
264																<h1 class=" loop-title entry-title" itemprop="headline">What&#8217;s wrong with Unity SendMessage and BroadcastMessage and what to do about it</h1>
265
266								<div class=" loop-description" itemprop="text"><div class="entry-byline"> <div class="entry-byline-block entry-byline-date"> <span class="entry-byline-label">On:</span> <time class="entry-published updated" datetime="2013-04-25T21:04:50+00:00" itemprop="datePublished" title="Thursday, April 25, 2013, 9:04 pm">April 25, 2013</time> </div> <div class="entry-byline-block entry-byline-cats"> <span class="entry-byline-label">In:</span> <a href="https://www.sebaslab.com/category/uncategorized/" rel="category tag">Other</a>, <a href="https://www.sebaslab.com/category/unity3d/" rel="category tag">Unity3D</a> </div> <div class="entry-byline-block entry-byline-comments"> <span class="entry-byline-label">With:</span> <a href="https://www.sebaslab.com/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it/#comments" class="comments-link" itemprop="discussionURL">3 Comments</a> </div></div><!-- .entry-byline --></div><!-- .loop-description -->
267							</div><!-- .entry-header -->
268						</div><!-- .loop-meta -->
269
270					</div>
271				</div>
272
273			
274<div class="hgrid main-content-grid">
275
276	
277	<main id="content" class="content  hgrid-span-12 no-sidebar layout-full-width " role="main">
278
279		
280			<div id="content-wrap">
281
282				
283	<article id="post-379" class="entry author-admin post-379 post type-post status-publish format-standard category-uncategorized category-unity3d tag-broadcastmessage tag-chain-of-responsibility tag-sendmessage tag-unity tag-unity3d" itemscope="itemscope" itemtype="https://schema.org/BlogPosting" itemprop="blogPost">
284
285		<div class="entry-content" itemprop="articleBody">
286
287			<div class="entry-the-content">
288				<p style="text-align: justify;">Unity 3D is a well designed tool, I can say that. It is clearly less painful to use than UDK, no matter what its limitations are. However, as I keep on saying, the c# framework is still full of bad design choices, probably unfortunate inheritances from unity script (why don&#8217;t they abolish it and just switch to c#?).</p>
289<p style="text-align: justify;">Emblematic example of these bad choices is the communication system built around <em>SendMessage</em> and <em>BroadcastMessage</em>. If you use them, you should just stop already!</p>
290<p style="text-align: justify;">In fact <em>SendMessage</em> and <em>BroadcastMessage</em> are so wrong mostly because they heavily rely on reflection to find the functions to call. This of course has a given impact on performance, but performance is not the issue here, the issue is instead related to the quality of the resulting code.</p>
291<p style="text-align: justify;">What can be so bad about it? First (and foremost) the use of  a string to recognize a function is way worse than using a string to recognize an Event. Just think about it: what happens if someone in the team decides to refactor the code where the calling function is defined and decides to rename the function or delete it?</p>
292<p style="text-align: justify;">I tell you what happens: the compiler will not warn the poor programmer of the mistake is doing and even worse, the code will just run as nothing happened. When the error will be found, it could be already too late.</p>
293<p style="text-align: justify;">Even worse is the fact that the calling function can be declared as private since the system uses reflection. You know what I usually do when I find a private function that is not used inside the declaring class? I just delete it, because the code is telling me: this function cannot be used outside this class and I am not using it, so why keep useless code?</p>
294<p style="text-align: justify;">Ok, in c# I mostly use delegate events, so I have to be honest, I basically do not use <em>SendMessage</em>, but I still find the <em>BroadcastMessage</em> useful when it is time to implement GUI widget communication.</p>
295<p style="text-align: justify;">Since GUIs are usually implemented in hierarchical way (i.e. if you use NGUI), being able to push a message down into a hierarchy could have several advantages, since it is basically not needed to know the target of the message. This is actually similar to <em><a href="http://www.oodesign.com/chain-of-responsibility-pattern.html">Chain of Responsibility</a> </em>pattern.</p>
296<p style="text-align: justify;">For this reason I decided to implement a little framework to send a message through a <em>GameObject</em> hierarchy and it works like this:</p>
297<p style="text-align: justify;">If the root (or a parent) of the target that must be reached is known, you can use it to send a signal through the hierarchy in a top down fashion. All the nodes of the hierarchy will be searched until a compatible &#8220;listener&#8221; is found. The code is pretty trivial and, as my usual, relies on implementation of interfaces.</p>
298<p style="text-align: justify;"><em>CubeAlone</em> is a <em>MonoBehaviour</em> that is present in a <em>GameObject</em> that is outside the hierarchy to search. It could have been inside as well, but I will reserve this case for the next example.</p>
299<pre class="lang:c# decode:true">using UnityEngine;
300using Svelto.Communication.SignalChain;
301
302public class CubeAlone : MonoBehaviour 
303{
304	public Transform root;
305	SignalChain _chain;
306
307	void Awake()
308	{
309		_chain = new SignalChain(root);
310	}
311
312	void OnMouseDown()
313	{
314		_chain.Broadcast("event");
315
316		_chain.Broadcast(new BetterEvent(Color.green));
317	}
318}</pre>
319<p style="text-align: justify;">Through the <em>SignalChain</em> object two events are sent to two different targets. I decided to do so to show you the flexibility of the interface. In fact it is possible to identify events using whatever kind of object, from a string to a more complicated type that c
319ould hold parameters.</p>
320<p style="text-align: justify;">In the hierarchy of the example that can be found at this address<a href="https://github.com/sebas77/SignalChain"> https://github.com/sebas77/SignalChain</a> there are two targets listening the <em>CubeAlone</em>, these are the <em>Sphere</em> and the <em>Cylinder</em>.</p>
321<p style="text-align: justify;">In order to be recognized as listener, these two <em>MonoBehaviour</em> must implement a <em>IChainListener</em> interface:</p>
322<pre class="lang:c# decode:true">public class Sphere : MonoBehaviour, IChainListener
323{
324	public void Listen(T message)
325	{
326		if (message is BetterEvent)
327		{
328			this.transform.renderer.material.color = (message as BetterEvent).color;
329		}
330	}
331}</pre>
332<pre class="lang:default decode:true">public class Cylinder : MonoBehaviour, IChainListener
333{
334	public void Listen(T message)
335	{
336		if (message is string &amp;&amp; (message as string) == "event")
337		{
338			this.transform.renderer.material.color = Color.red;
339		}
340	}
341}</pre>
342<p style="text-align: justify;">and from the code it is pretty clear how it works. Should I add something? If leftmost cube is clicked, the Sphere and the Cylinder will change color.</p>
343<p style="text-align: justify;">Well, let&#8217;s see now the case when the dispatching event object is already in the hierarchy. In this case we could dispatch events in the hierarchy without knowing the root. However the root must be signed with <em>IChainRoot</em> interface:</p>
344<pre class="lang:c# decode:true">using UnityEngine;
345using Svelto.Communication.SignalChain;
346
347public class Cube : MonoBehaviour, IChainRoot 
348{
349}</pre>
350<p style="text-align: justify;">and the dispatching event object can use the <em>BubbleSignal</em> object in this way:</p>
351<pre class="lang:default decode:true">using UnityEngine;
352using Svelto.Communication.SignalChain;
353
354public class Capsule : MonoBehaviour 
355{
356	BubbleSignal _bubbleSignal;
357
358	void Awake()
359	{
360		_bubbleSignal = new BubbleSignal(this.transform);
361	}		
362
363	void OnMouseDown()
364	{
365		_bubbleSignal.Dispatch(new BetterEvent(Color.blue));
366	}
367}</pre>
368<p style="text-align: justify;"> Try to click on the capsule now, the sphere will change again color but this time will be blue!</p>
369<div id='wpd-post-rating' class='wpd-post-rating wpd-not-rated' data-post-id='379' data-rate-editable='0'>
370            <div class='wpd-rating-wrap'>
371            <div class='wpd-rating-left'></div>
372            <div class='wpd-rating-data'>
373                <div class='wpd-rating-value'>
374                    <span class='wpdrv'>5</span>
375                    <span class='wpdrc'>1</span>
376                    <span class='wpdrt'>vote</span></div>
377                <div class='wpd-rating-title'>Article Rating</div>
378                <div class='wpd-rating-stars'><svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M0 0h24v24H0z' fill='none'/><path class='wpd-star wpd-active' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/><path d='M0 0h24v24H0z' fill='none'/></svg><svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M0 0h24v24H0z' fill='none'/><path class='wpd-star wpd-active' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/><path d='M0 0h24v24H0z' fill='none'/></svg><svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M0 0h24v24H0z' fill='none'/><path class='wpd-star wpd-active' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/><path d='M0 0h24v24H0z' fill='none'/></svg><svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M0 0h24v24H0z' fill='none'/><path class='wpd-star wpd-active' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/><path d='M0 0h24v24H0z' fill='none'/></svg><svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M0 0h24v24H0z' fill='none'/><path class='wpd-star wpd-active' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/><path d='M0 0h24v24H0z' fill='none'/></svg></div><div class='wpd-rate-starts'><svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M0 0h24v24H0z' fill='none'/><path class='wpd-star' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/><path d='M0 0h24v24H0z' fill='none'/></svg><svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M0 0h24v24H0z' fill='none'/><path class='wpd-star' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/><path d='M0 0h24v24H0z' fill='none'/></svg><svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M0 0h24v24H0z' fill='none'/><path class='wpd-star' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/><path d='M0 0h24v24H0z' fill='none'/></svg><svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M0 0h24v24H0z' fill='none'/><path class='wpd-star' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/><path d='M0 0h24v24H0z' fill='none'/></svg><svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M0 0h24v24H0z' fill='none'/><path class='wpd-star' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/><path d='M0 0h24v24H0z' fill='none'/></svg></div></div>
379            <div class='wpd-rating-right'></div></div></div><div style='display: none;' itemscope itemtype='https://schema.org/Product'><meta itemprop='name' content='Article Rating'><div style='display: none;' itemprop='aggregateRating' itemscope itemtype='https://schema.org/AggregateRating'><meta itemprop='bestRating' content='5'><meta itemprop='worstRating' content='1'>
379<meta itemprop='ratingValue' content='5'><meta itemprop='ratingCount' content='1'></div></div><div class="sharedaddy sd-sharing-enabled"><div class="robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing"><h3 class="sd-title">Share this:</h3><div class="sd-content"><ul><li class="share-facebook"><a rel="nofollow noopener noreferrer"
380				data-shared="sharing-facebook-379"
381				class="share-facebook sd-button share-icon"
382				href="https://www.sebaslab.com/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it/?share=facebook"
383				target="_blank"
384				aria-labelledby="sharing-facebook-379"
385				>
386				<span id="sharing-facebook-379" hidden>Share on Facebook (Opens in new window)</span>
387				<span>Facebook</span>
388			</a></li><li class="share-linkedin"><a rel="nofollow noopener noreferrer"
389				data-shared="sharing-linkedin-379"
390				class="share-linkedin sd-button share-icon"
391				href="https://www.sebaslab.com/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it/?share=linkedin"
392				target="_blank"
393				aria-labelledby="sharing-linkedin-379"
394				>
395				<span id="sharing-linkedin-379" hidden>Share on LinkedIn (Opens in new window)</span>
396				<span>LinkedIn</span>
397			</a></li><li class="share-twitter"><a rel="nofollow noopener noreferrer"
398				data-shared="sharing-twitter-379"
399				class="share-twitter sd-button share-icon"
400				href="https://www.sebaslab.com/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it/?share=twitter"
401				target="_blank"
402				aria-labelledby="sharing-twitter-379"
403				>
404				<span id="sharing-twitter-379" hidden>Share on X (Opens in new window)</span>
405				<span>X</span>
406			</a></li><li class="share-reddit"><a rel="nofollow noopener noreferrer"
407				data-shared="sharing-reddit-379"
408				class="share-reddit sd-button share-icon"
409				href="https://www.sebaslab.com/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it/?share=reddit"
410				target="_blank"
411				aria-labelledby="sharing-reddit-379"
412				>
413				<span id="sharing-reddit-379" hidden>Share on Reddit (Opens in new window)</span>
414				<span>Reddit</span>
415			</a></li><li class="share-email"><a rel="nofollow noopener noreferrer"
416				data-shared="sharing-email-379"
417				class="share-email sd-button share-icon"
418				href="mailto:?subject=%5BShared%20Post%5D%20What%27s%20wrong%20with%20Unity%20SendMessage%20and%20BroadcastMessage%20and%20what%20to%20do%20about%20it&#038;body=https%3A%2F%2Fwww.sebaslab.com%2Fwhats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it%2F&#038;share=email"
419				target="_blank"
420				aria-labelledby="sharing-email-379"
421				data-email-share-error-title="Do you have email set up?" data-email-share-error-text="If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself." data-email-share-nonce="c0c3979050" data-email-share-track-url="https://www.sebaslab.com/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it/?share=email">
422				<span id="sharing-email-379" hidden>Email a link to a friend (Opens in new window)</span>
423				<span>Email</span>
424			</a></li><li class="share-end"></li></ul></div></div></div>
425<div id='jp-relatedposts' class='jp-relatedposts' >
426	<h3 class="jp-relatedposts-headline"><em>Possibly related topics :)</em></h3>
427</div>			</div>
428					</div><!-- .entry-content -->
429
430		<div class="screen-reader-text" itemprop="datePublished" itemtype="https://schema.org/Date">2013-04-25</div>
431
432		
433	</article><!-- .entry -->
434
435
436			</div><!-- #content-wrap -->
437
438			
439	<div class="loop-nav">
440		<div class="prev">Previous Post: <a href="https://www.sebaslab.com/how-to-compress-and-decompress-binary-stream-in-unity/" rel="prev">How to compress and decompress binary streams in Unity</a></div>		<div class="next">Next Post: <a href="https://www.sebaslab.com/what-i-have-learned-while-developing-a-game-launcher-in-unity/" rel="next">What I have learned while developing a game launcher in Unity</a></div>	</div><!-- .loop-nav -->
441
442    <div class="wpdiscuz_top_clearing"></div>
443    <div id='comments' class='comments-area'><div id='respond' style='width: 0;height: 0;clear: both;margin: 0;padding: 0;'></div>    <div id="wpdcom" class="wpdiscuz_unauth wpd-default wpd-layout-1 wpd-comments-open">
444                    <div class="wc_social_plugin_wrapper">
445                            </div>
446            <div class="wpd-form-wrap">
447                <div class="wpd-form-head">
448                                            <div class="wpd-sbs-toggle">
449                            <i class="far fa-envelope"></i> <span
450                                class="wpd-sbs-title">Subscribe</span>
451                            <i class="fas fa-caret-down"></i>
452                        </div>
453                                            <div class="wpd-auth">
454                                                <div class="wpd-login">
455                            <a rel="nofollow" href="https://www.sebaslab.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.sebaslab.com%2Fwhats-wrong-with-se
455ndmessage-and-broadcastmessage-and-what-to-do-about-it%2F"><i class='fas fa-sign-in-alt'></i> Login</a>                        </div>
456                    </div>
457                </div>
458                                                    <div class="wpdiscuz-subscribe-bar wpdiscuz-hidden">
459                                                    <form action="https://www.sebaslab.com/wp-admin/admin-ajax.php?action=wpdAddSubscription"
460                                  method="post" id="wpdiscuz-subscribe-form">
461                                <div class="wpdiscuz-subscribe-form-intro">Notify of </div>
462                                <div class="wpdiscuz-subscribe-form-option"
463                                     style="width:40%;">
464                                    <select class="wpdiscuz_select" name="wpdiscuzSubscriptionType">
465                                                                                    <option value="post">new follow-up comments</option>
466                                                                                                                                <option
467                                                value="all_comment" >new replies to my comments</option>
468                                                                                </select>
469                                </div>
470                                                                    <div class="wpdiscuz-item wpdiscuz-subscribe-form-email">
471                                        <input class="email" type="email" name="wpdiscuzSubscriptionEmail"
472                                               required="required" value=""
473                                               placeholder="Email"/>
474                                    </div>
475                                                                    <div class="wpdiscuz-subscribe-form-button">
476                                    <input id="wpdiscuz_subscription_button" class="wpd-prim-button wpd_not_clicked"
477                                           type="submit"
478                                           value="&rsaquo;"
479                                           name="wpdiscuz_subscription_button"/>
480                                </div>
481                                <input type="hidden" id="wpdiscuz_subscribe_form_nonce" name="wpdiscuz_subscribe_form_nonce" value="769c493c6e" /><input type="hidden" name="_wp_http_referer" value="/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it/" />                            </form>
482                                                </div>
483                            <div
484            class="wpd-form wpd-form-wrapper wpd-main-form-wrapper" id='wpd-main-form-wrapper-0_0'>
485                                        <form  method="post" enctype="multipart/form-data" data-uploading="false" class="wpd_comm_form wpd_main_comm_form"                >
486                                        <div class="wpd-field-comment">
487                        <div class="wpdiscuz-item wc-field-textarea">
488                            <div class="wpdiscuz-textarea-wrap ">
489                                                                                                        <div class="wpd-avatar">
490                                        <img alt='guest' src='https://secure.gravatar.com/avatar/d440867d6aa0bb567bb511ccfffb79ba7af16570a199751e3d0bb84655c4c859?s=56&#038;d=retro&#038;r=g' srcset='https://secure.gravatar.com/avatar/d440867d6aa0bb567bb511ccfffb79ba7af16570a199751e3d0bb84655c4c859?s=112&#038;d=retro&#038;r=g 2x' class='avatar avatar-56 photo' height='56' width='56' loading='lazy' decoding='async'itemprop="image" />                                    </div>
491                                                <div id="wpd-editor-wraper-0_0" style="display: none;">
492                <div id="wpd-editor-char-counter-0_0"
493                     class="wpd-editor-char-counter"></div>
494                <label style="display: none;" for="wc-textarea-0_0">Label</label>
495                <textarea id="wc-textarea-0_0" name="wc_comment"
496                          class="wc_comment wpd-field"></textarea>
497                <div id="wpd-editor-0_0"></div>
498                        <div id="wpd-editor-toolbar-0_0">
499                            <button title="Bold"
500                        class="ql-bold"  ></button>
501                                <button title="Italic"
502                        class="ql-italic"  ></button>
503                                <button title="Underline"
504                        class="ql-underline"  ></button>
505                                <button title="Strike"
506                        class="ql-strike"  ></button>
507                                <button title="Ordered List"
508                        class="ql-list" value='ordered' ></button>
509                                <button title="Unordered List"
510                        class="ql-list" value='bullet' ></button>
511                                <button title="Blockquote"
512                        class="ql-blockquote"  ></button>
513                                <button title="Code Block"
514                        class="ql-code-block"  ></button>
515                                <button title="Link"
516                        class="ql-link"  ></button>
517                                <button title="Source Code"
518                        class="ql-sourcecode"  data-wpde_button_name='sourcecode'>{}</button>
519                                <button title="Spoiler"
520                        class="ql-spoiler"  data-wpde_button_name='spoiler'>[+]</button>
521                            <div class="wpd-editor-buttons-right">
522                            </div>
523        </div>
524                    </div>
525                                        </div>
526                        </div>
527                    </div>
528                    <div class="wpd-form-foot" >
529                        <div class="wpdiscuz-textarea-foot">
530                                                        <div class="wpdiscuz-button-actions"></div>
531                        </div>
532                                <div class="wpd-form-row">
533                    <div class="wpd-form-col-left">
534                        <div class="wpdiscuz-item wc_name-wrapper wpd-has-icon">
535                                    <div class="wpd-field-icon"><i
536                            class="fas fa-user"></i>
537                    </div>
538                                    <input id="wc_name-0_0" value="" required='required' aria-required='true'                       class="wc_name wpd-field" type="text"
539                       name="wc_name"
540                       placeholder="Name*"
541                       maxlength="50" pattern='.{3,50}'                       title="">
542                <label for="wc_name-0_0"
543                       class="wpdlb">Name*</label>
544                            </div>
545                        <div class="wpdiscuz-item wc_email-wrapper wpd-has-icon">
546                                    <div class="wpd-field-icon"><i
547                            class="fas fa-at"></i>
548                    </div>
549                                    <input id="wc_email-0_0" value="" required='required' aria-required='true'                       class="wc_email wpd-field" type="email"
550                       name="wc_email"
551                       placeholder="Email*"/>
552                <label for="wc_email-0_0"
553                       class="wpdlb">Email*</label>
554                            </div>
555                            <div class="wpdiscuz-item wc_website-wrapper wpd-has-icon">
556                                            <div class="wpd-field-icon"><i
557                                class="fas fa-link"></i>
558                        </div>
559                                        <input id="wc_website-0_0" value=""
560                           class="wc_website wpd-field" type="text"
561                           name="wc_website"
562                           placeholder="Website"/>
563                    <label for="wc_website-0_0"
564                           class="wpdlb">Website</label>
565                                    </div>
566                        </div>
567                <div class="wpd-form-col-right">
568                    <div class="wc-field-submit">
569                                                <label class="wpd_label"
570                           wpd-tooltip="Notify of new replies to this comment">
571                        <input id="wc_notification_new_comment-0_0"
572                               class="wc_notification_new_comment-0_0 wpd_label__checkbox"
573                               value="comment" type="checkbox"
574                               name="wpdiscuz_notification_type" checked='checked'/>
575                        <span class="wpd_label__text">
576                                <span class="wpd_label__check">
577                                    <i class="fas fa-bell wpdicon wpdicon-on"></i>
578                                    <i class="fas fa-bell-slash wpdicon wpdicon-off"></i>
579                                </span>
580                            </span>
581                    </label>
582                            <input id="wpd-field-submit-0_0"
583                   class="wc_comm_submit wpd_not_clicked wpd-prim-button" type="submit"
584                   name="submit" value="Post Comment"
585                   aria-label="Post Comment"/>
586        </div>
587                </div>
588                    <div class="clearfix"></div>
589        </div>
590                            </div>
591                                        <input type="hidden" class="wpdiscuz_unique_id" value="0_0"
592                           name="wpdiscuz_unique_id">
593                    <p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="c58fb79867" /></p><p style="display: none !important;" class="akismet-fields-container" data-prefix="ak_"><label>&#916;<textarea name="ak_hp_textarea" cols="45" rows="8" maxlength="100"></textarea></label><input type="hidden" id="ak_js_1" name="ak_js" value="172"/>
594</p>                </form>
595                        </div>
596                <div id="wpdiscuz_hidden_secondary_form" style="display: none;">
597                    <div
598            class="wpd-form wpd-form-wrapper wpd-secondary-form-wrapper" id='wpd-secondary-form-wrapper-wpdiscuzuniqueid' style='display: none;'>
599                            <div class="wpd-secondary-forms-social-content"></div>
600                <div class="clearfix"></div>
601                                        <form  method="post" enctype="multipart/form-data" data-uploading="false" class="wpd_comm_form wpd-secondary-form-wrapper"                >
602                                        <div class="wpd-field-comment">
603                        <div class="wpdiscuz-item wc-field-textarea">
604                            <div class="wpdiscuz-textarea-wrap ">
605                                                                                                        <div class="wpd-avatar">
606                                        <img alt='guest' src='https://secure.gravatar.com/avatar/85ecc26f3c2e83df2be919a3746dfd852dae1f4f78208440216e3fd987d90c29?s=56&#038;d=retro&#038;r=g' srcset='https://secure.gravatar.com/avatar/85ecc26f3c2e83df2be919a3746dfd852dae1f4f78208440216e3fd987d90c29?s=112&#038;d=retro&#038;r=g 2x' class='avatar avatar-56 photo' height='56' width='56' loading='lazy' decoding='async'itemprop="image" />                                    </div>
607                                                <div id="wpd-editor-wraper-wpdiscuzuniqueid" style="display: none;">
608                <div id="wpd-editor-char-counter-wpdiscuzuniqueid"
609                     class="wpd-editor-char-counter"></div>
610                <label style="display: none;" for="wc-textarea-wpdiscuzuniqueid">Label</label>
611                <textarea id="wc-textarea-wpdiscuzuniqueid" name="wc_comment"
612                          class="wc_comment wpd-field"></textarea>
613                <div id="wpd-editor-wpdiscuzuniqueid"></div>
614                        <div id="wpd-editor-toolbar-wpdiscuzuniqueid">
615                            <button title="Bold"
616                        class="ql-bold"  ></button>
617                                <button title="Italic"
618                        class="ql-italic"  ></button>
619                                <button title="Underline"
620                        class="ql-underline"  ></button>
621                                <button title="Strike"
622                        class="ql-strike"  ></button>
623                                <button title="Ordered List"
624                        class="ql-list" value='ordered' ></button>
625                                <button title="Unordered List"
626                        class="ql-list" value='bullet' ></button>
627                                <button title="Blockquote"
628                        class="ql-blockquote"  ></button>
629                                <button title="Code Block"
630                        class="ql-code-block"  ></button>
631                                <button title="Link"
632                        class="ql-link"  ></button>
633                                <button title="Source Code"
634                        class="ql-sourcecode"  data-wpde_button_name='sourcecode'>{}</button>
635                                <button title="Spoiler"
636                        class="ql-spoiler"  data-wpde_button_name='spoiler'>[+]</button>
637                            <div class="wpd-editor-buttons-right">
638                            </div>
639        </div>
640                    </div>
641                                        </div>
642                        </div>
643                    </div>
644                    <div class="wpd-form-foot" >
645                        <div class="wpdiscuz-textarea-foot">
646                                                        <div class="wpdiscuz-button-actions"></div>
647                        </div>
648                                <div class="wpd-form-row">
649                    <div class="wpd-form-col-left">
650                        <div class="wpdiscuz-item wc_name-wrapper wpd-has-icon">
651                                    <div class="wpd-field-icon"><i
652                            class="fas fa-user"></i>
653                    </div>
654                                    <input id="wc_name-wpdiscuzuniqueid" value="" required='required' aria-required='true'                       class="wc_name wpd-field" type="text"
655                       name="wc_name"
656                       placeholder="Name*"
657                       maxlength="50" pattern='.{3,50}'                       title="">
658                <label for="wc_name-wpdiscuzuniqueid"
659                       class="wpdlb">Name*</label>
660                            </div>
661                        <div class="wpdiscuz-item wc_email-wrapper wpd-has-icon">
662                                    <div class="wpd-field-icon"><i
663                            class="fas fa-at"></i>
664                    </div>
665                                    <input id="wc_email-wpdiscuzuniqueid" value="" required='required' aria-required='true'                       class="wc_email wpd-field" type="email"
666                       name="wc_email"
667                       placeholder="Email*"/>
668                <label for="wc_email-wpdiscuzuniqueid"
669                       class="wpdlb">Email*</label>
670                            </div>
671                            <div class="wpdiscuz-item wc_website-wrapper wpd-has-icon">
672                                            <div class="wpd-field-icon"><i
673                                class="fas fa-link"></i>
674                        </div>
675                                        <input id="wc_website-wpdiscuzuniqueid" value=""
676                           class="wc_website wpd-field" type="text"
677                           name="wc_website"
678                           placeholder="Website"/>
679                    <label for="wc_website-wpdiscuzuniqueid"
680                           class="wpdlb">Website</label>
681                                    </div>
682                        </div>
683                <div class="wpd-form-col-right">
684                    <div class="wc-field-submit">
685                                                <label class="wpd_label"
686                           wpd-tooltip="Notify of new replies to this comment">
687                        <input id="wc_notification_new_comment-wpdiscuzuniqueid"
688                               class="wc_notification_new_comment-wpdiscuzuniqueid wpd_label__checkbox"
689                               value="comment" type="checkbox"
690                               name="wpdiscuz_notification_type" checked='checked'/>
691                        <span class="wpd_label__text">
692                                <span class="wpd_label__check">
693                                    <i class="fas fa-bell wpdicon wpdicon-on"></i>
694                                    <i class="fas fa-bell-slash wpdicon wpdicon-off"></i>
695                                </span>
696                            </span>
697                    </label>
698                            <input id="wpd-field-submit-wpdiscuzuniqueid"
699                   class="wc_comm_submit wpd_not_clicked wpd-prim-button" type="submit"
700                   name="submit" value="Post Comment"
701                   aria-label="Post Comment"/>
702        </div>
703                </div>
704                    <div class="clearfix"></div>
705        </div>
706                            </div>
707                                        <input type="hidden" class="wpdiscuz_unique_id" value="wpdiscuzuniqueid"
708                           name="wpdiscuz_unique_id">
709                    <p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="c58fb79867" /></p><p style="display: none !important;" class="akismet-fields-container" data-prefix="ak_"><label>&#916;<textarea name="ak_hp_textarea" cols="45" rows="8" maxlength="100"></textarea></label><input type="hidden" id="ak_js_2" name="ak_js" value="122"/>
710</p>                </form>
711                        </div>
712                </div>
713                    </div>
714                        <div id="wpd-threads" class="wpd-thread-wrapper">
715                <div class="wpd-thread-head">
716                    <div class="wpd-thread-info "
717                         data-comments-count="3">
718                        <span class='wpdtc' title='3'>3</span> Comments                    </div>
719                                        <div class="wpd-space"></div>
720                    <div class="wpd-thread-filter">
721                                                    <div class="wpd-filter wpdf-reacted wpd_not_clicked " data-filter-type="most_reacted"
722                                 wpd-tooltip="Most reacted comment">
723                                <i class="fas fa-bolt"></i></div>
724                                                        <div class="wpd-filter wpdf-hottest wpd_not_clicked " data-filter-type="hottest_thread"
725                                 wpd-tooltip="Hottest comment thread">
726                                <i class="fas fa-fire"></i></div>
727                                                        <div class="wpd-filter wpdf-sorting ">
728                                                                        <span class="wpdiscuz-sort-button wpdiscuz-vote-sort-up wpdiscuz-sort-button-active"
729                                              data-sorting="by_vote">Most Voted</span>
730                                                                        <i class="fas fa-sort-down"></i>
731                                <div class="wpdiscuz-sort-buttons">
732                                                                            <span class="wpdiscuz-sort-button wpdiscuz-date-sort-desc"
733                                              data-sorting="newest">Newest</span>
734                                                                                <span class="wpdiscuz-sort-button wpdiscuz-date-sort-asc"
735                                              data-sorting="oldest">Oldest</span>
736                                                                        </div>
737                            </div>
738                                                </div>
739                    <div class="wpd-filter-container wpdiscuz-hidden"></div>
740                </div>
741                                <div class="wpd-thread-list">
742                    <div id='wpd-comm-101_0' class='comment even thread-even depth-1 wpd-comment has-avatar wpd_comment_level-1'><div class="wpd-comment-wrap wpd-blog-guest">
743    <div class="wpd-comment-left ">
744    <div class="wpd-avatar ">
745    <img alt='rafael' src='https://secure.gravatar.com/avatar/baf8fedaab
7456d5214d62f9ede4c1ce3cc3f0438095e04c2f5022059b051401940?s=64&#038;d=retro&#038;r=g' srcset='https://secure.gravatar.com/avatar/baf8fedaab6d5214d62f9ede4c1ce3cc3f0438095e04c2f5022059b051401940?s=128&#038;d=retro&#038;r=g 2x' class='avatar avatar-64 photo' height='64' width='64' loading='lazy' decoding='async'itemprop="image" />
746</div>
747    
748    
749</div>
750    <div id="comment-101" class="wpd-comment-right">
751    <div class="wpd-comment-header">
752    <div class="wpd-comment-author ">
753    rafael
754</div>
755    <div class="wpd-comment-date" title="April 26, 2013 7:54 am">
756    <i class='far fa-clock' aria-hidden='true'></i>
757    13 years ago
758</div>
759    
760    
761    <div class="wpd-space"></div>
762    <div class="wpd-comment-link wpd-hidden">
763    <span wpd-tooltip='Comment Link' wpd-tooltip-position='left'><i class='fas fa-link' aria-hidden='true' data-wpd-clipboard='https://www.sebaslab.com/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it/#comment-101'></i></span>
764</div>
765</div>
766    
767    <div class="wpd-comment-text">
768    <p>Very nice! </p>
769<p>Maybe you should save a local variable when you do &#8220;_root.GetComponentsInChildren&#8221; inside a foreach loop. </p>
770<p>I&#8217;m not sure on this, but I think that for each compoment he finds, he keeps running the GetComponentsInChildren multiple times?</p>
771
772</div>
773    <div class="wpd-comment-footer">
774    <div class="wpd-vote wpd-vote-disabled" wpd-tooltip='You Must Be Logged In To Vote' wpd-tooltip-size='medium'>
775    <div class="wpd-vote-up wpd_not_clicked">
776        <svg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='chevron-up' class='svg-inline--fa fa-chevron-up fa-w-14' role='img' xmlns='https://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z'></path></svg>
777    </div>
778    <div class='wpd-vote-result' title='0'>0</div>
779    <div class="wpd-vote-down wpd_not_clicked">
780        <svg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='chevron-down' class='svg-inline--fa fa-chevron-down fa-w-14' role='img' xmlns='https://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z'></path></svg>
781    </div>
782</div>
783    <div class="wpd-reply-button">
784    <svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z'/><path d='M0 0h24v24H0z' fill='none'/></svg>
785    <span>Reply</span>
786</div>
787    <div class="wpd-space"></div>
788    
789    <div class="wpd-toggle wpd-hidden wpd_not_clicked" wpd-tooltip="Hide Replies" wpd-tooltip-position='left'>
790    <i class='fas fa-chevron-up'></i>
791</div>
792</div>
793</div>
794</div><div id='wpdiscuz_form_anchor-101_0'></div><div id='wpd-comm-102_101' class='comment byuser comment-author-admin bypostauthor odd alt depth-2 wpd-comment role-administrator has-avatar wpd-reply wpd_comment_level-2'><div class="wpd-comment-wrap wpd-blog-user wpd-blog-administrator wpd-blog-user wpd-blog-post_author">
795    <div class="wpd-comment-left ">
796    <div class="wpd-avatar ">
797    <img alt='Sebastiano Mandalà' src='https://secure.gravatar.com/avatar/f093206a344754b6439cb046c60668fc49c33e1c74fa4ea45d77dac43a0cf116?s=64&#038;d=retro&#038;r=g' srcset='https://secure.gravatar.com/avatar/f093206a344754b6439cb046c60668fc49c33e1c74fa4ea45d77dac43a0cf116?s=128&#038;d=retro&#038;r=g 2x' class='avatar avatar-64 photo' height='64' width='64' loading='lazy' decoding='async'itemprop="image" />
798</div>
799    <div class="wpd-comment-label" wpd-tooltip="Author" wpd-tooltip-position="right">
800    <span>Author</span>
801</div>
802    
803</div>
804    <div id="comment-102" class="wpd-comment-right">
805    <div class="wpd-comment-header">
806    <div class="wpd-comment-author ">
807    Sebastiano Mandalà
808</div>
809    <div class="wpd-comment-date" title="April 26, 2013 9:41 am">
810    <i class='far fa-clock' aria-hidden='true'></i>
811    13 years ago
812</div>
813    
814    
815    <div class="wpd-space"></div>
816    <div class="wpd-comment-link wpd-hidden">
817    <span wpd-tooltip='Comment Link' wpd-tooltip-position='left'><i class='fas fa-link' aria-hidden='true' data-wpd-clipboard='https://www.sebaslab.com/whats-wrong-with-se
817ndmessage-and-broadcastmessage-and-what-to-do-about-it/#comment-102'></i></span>
818</div>
819</div>
820    <div class="wpd-reply-to">
821    <i class='far fa-comments'></i>
822    Reply to&nbsp;
823    <a href="#comment-101">
824        rafael
825    </a>
826</div>
827    <div class="wpd-comment-text">
828    <p>I hope you are wrong, but for safety I will put it out. Thank you for the feedback.</p>
829
830</div>
831    <div class="wpd-comment-footer">
832    <div class="wpd-vote wpd-vote-disabled" wpd-tooltip='You Must Be Logged In To Vote' wpd-tooltip-size='medium'>
833    <div class="wpd-vote-up wpd_not_clicked">
834        <svg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='chevron-up' class='svg-inline--fa fa-chevron-up fa-w-14' role='img' xmlns='https://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z'></path></svg>
835    </div>
836    <div class='wpd-vote-result' title='0'>0</div>
837    <div class="wpd-vote-down wpd_not_clicked">
838        <svg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='chevron-down' class='svg-inline--fa fa-chevron-down fa-w-14' role='img' xmlns='https://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z'></path></svg>
839    </div>
840</div>
841    <div class="wpd-reply-button">
842    <svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z'/><path d='M0 0h24v24H0z' fill='none'/></svg>
843    <span>Reply</span>
844</div>
845    <div class="wpd-space"></div>
846    
847    
848</div>
849</div>
850</div><div id='wpdiscuz_form_anchor-102_101'></div></div></div><div id='wpd-comm-103_0' class='comment even thread-odd thread-alt depth-1 wpd-comment has-avatar wpd_comment_level-1'><div class="wpd-comment-wrap wpd-blog-guest">
851    <div class="wpd-comment-left ">
852    <div class="wpd-avatar ">
853    <img alt='fantasia' src='https://secure.gravatar.com/avatar/714355198ad2df29e692adc674dba2e8b5393753a9687e1d70a89491a9c7f1bc?s=64&#038;d=retro&#038;r=g' srcset='https://secure.gravatar.com/avatar/714355198ad2df29e692adc674dba2e8b5393753a9687e1d70a89491a9c7f1bc?s=128&#038;d=retro&#038;r=g 2x' class='avatar avatar-64 photo' height='64' width='64' loading='lazy' decoding='async'itemprop="image" />
854</div>
855    
856    
857</div>
858    <div id="comment-103" class="wpd-comment-right">
859    <div class="wpd-comment-header">
860    <div class="wpd-comment-author ">
861    fantasia
862</div>
863    <div class="wpd-comment-date" title="February 12, 2014 6:02 pm">
864    <i class='far fa-clock' aria-hidden='true'></i>
865    12 years ago
866</div>
867    
868    
869    <div class="wpd-space"></div>
870    <div class="wpd-comment-link wpd-hidden">
871    <span wpd-tooltip='Comment Link' wpd-tooltip-position='left'><i class='fas fa-link' aria-hidden='true' data-wpd-clipboard='https://www.sebaslab.com/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it/#comment-103'></i></span>
872</div>
873</div>
874    
875    <div class="wpd-comment-text">
876    <p>Very nice system.  Wondering if its possible to add the listeners as components to the gameObject instead of making the monobehaviour inherit from and interface.  The reason is that I would like to dynamically add and remove listeners to gameobjects. </p>
877<p>Cheers.</p>
878
879</div>
880    <div class="wpd-comment-footer">
881    <div class="wpd-vote wpd-vote-disabled" wpd-tooltip='You Must Be Logged In To Vote' wpd-tooltip-size='medium'>
882    <div class="wpd-vote-up wpd_not_clicked">
883        <svg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='chevron-up' class='svg-inline--fa fa-chevron-up fa-w-14' role='img' xmlns='https://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z'></path></svg>
884    </div>
885    <div class='wpd-vote-result' title='0'>0</div>
886    <div class="wpd-vote-down wpd_not_clicked">
887        <svg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='chevron-down' class='svg-inline--fa fa-chevron-down fa-w-14' role='img' xmlns='https://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z'></path></svg>
888    </div>
889</div>
890    <div class="wpd-reply-button">
891    <svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z'/><path d='M0 0h24v24H0z' fill='none'/></svg>
892    <span>Reply</span>
893</div>
894    <div class="wpd-space"></div>
895    
896    
897</div>
898</div>
899</div><div id='wpdiscuz_form_anchor-103_0'></div></div><!-- // From wpDiscuz's Caches // -->                    <div class="wpdiscuz-comment-pagination">
900                                            </div>
901                </div>
902            </div>
903                            <div class="by-wpdiscuz">
904                    <span id="awpdiscuz" class="wpd-by-toggle" role="button" tabindex="0"
905                          aria-label="Show wpDiscuz link">
906                        <img alt="wpdiscuz"
907                             src="https://www.sebaslab.com/wp-content/plugins/wpdiscuz/assets/img/plugin-icon/icon_info.png"
908                             align="absmiddle" class="wpdimg"/>
909                    </span>&nbsp;
910                    <a href="https://wpdiscuz.com/" target="_blank" rel='noreferrer' id="bywpdiscuz" class="wpd-by-link"
911                       title="wpDiscuz v7.6.71 - Supercharged native comments">wpDiscuz</a>
912                </div>
913                    </div>
914        </div>
915    <div id="wpdiscuz-loading-bar"
916         class="wpdiscuz-loading-bar-unauth"></div>
917    <div id="wpdiscuz-comment-message"
918         class="wpdiscuz-comment-message-unauth"></div>
919    
920	</main><!-- #content -->
921
922	
923	
924</div><!-- .hgrid -->
925
926		</div><!-- #main -->
927
928		<div id="sub-footer" class="sub-footer  hgrid-stretch inline-nav">
929	<div class="hgrid">
930		<div class="hgrid-span-12">
931			<section id="text-7" class="widget widget_text">			<div class="textwidget"><p>Speed logo by Joshua Swattridge from the Noun Project</p>
932</div>
933		</section>		</div>
934	</div>
935</div>
936		
937			<div id="post-footer" class="post-footer  hgrid-stretch footer-highlight-typo linkstyle">
938		<div class="hgrid">
939			<div class="hgrid-span-12">
940				<p class="credit small">
941					 Designed using <a class="theme-link" href="https://wphoot.com/themes/magazine-hoot/" title="Magazine Hoot WordPress Theme">Magazine Hoot</a>. Powered by <a class="wp-link" href="https://wordpress.org">WordPress</a>.				</p><!-- .credit -->
942			</div>
943		</div>
944	</div>
945
946	</div><!-- #page-wrapper -->
947
948	
949<span id='wpdUserContentInfoAnchor' style='display:none;' rel='#wpdUserContentInfo' data-wpd-lity>wpDiscuz</span><div id='wpdUserContentInfo' style='overflow:auto;background:#FDFDF6;padding:20px;width:760px;max-width:100%;border-radius:6px;' class='lity-hide'></div><div id='wpd-editor-source-code-wrapper-bg'></div><div id='wpd-editor-source-code-wrapper'><textarea id='wpd-editor-source-code'></textarea><button id='wpd-insert-source-code'>Insert</button><input type='hidden' id='wpd-editor-uid' /></div>		
950		
951	
952				
953
954
955
956
957
958
959
960
961
962
963
964
965<script data-jetpack-boost="ignore" id="wp-emoji-settings" type="application/json">
966{"baseUrl":"https://s.w.org/images/core/emoji/17.0.2/72x72/","ext":".png","svgUrl":"https://s.w.org/images/core/emoji/17.0.2/svg/","svgExt":".svg","source":{"concatemoji":"https://www.sebaslab.com/wp-includes/js/wp-emoji-release.min.js?ver=7.1.2"}}
967</script>
967
968
969
970<script id="jetpack_related-posts-js-extra">
971var related_posts_js_options = {"post_heading":"h4"};
972//# sourceURL=jetpack_related-posts-js-extra
973</script>
973<script type='text/javascript' src='https://www.sebaslab.com/wp-content/plugins/jetpack/_inc/build/related-posts/related-posts.min.js?m=1789129377'></script>
973<script id="jquery-core-js" src="https://www.sebaslab.com/wp-includes/js/jquery/jquery.min.js?ver=3.7.1"></script>
973<script type='text/javascript' src='https://www.sebaslab.com/wp-content/boost-cache/static/6d9f8be34c.min.js'></script>
973<script>
974document.getElementById( "ak_js_1" ).setAttribute( "value", ( new Date() ).getTime() );
975</script>
975<script>
976document.getElementById( "ak_js_2" ).setAttribute( "value", ( new Date() ).getTime() );
977</script>
977<script type="speculationrules">
978{"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/magazine-hoot/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]}
979</script>
979<script>window.addEventListener( 'load', function() {
980				document.querySelectorAll( 'link' ).forEach( function( e ) {'not all' === e.media && e.dataset.media && ( e.media = e.dataset.media, delete e.dataset.media );} );
981				var e = document.getElementById( 'jetpack-boost-critical-css' );
982				e && ( e.media = 'not all' );
983			} );</script>
983<script type="text/javascript">
984		window.WPCOM_sharing_counts = {"https://www.sebaslab.com/whats-wrong-with-sendmessage-and-broadcastmessage-and-what-to-do-about-it/":379};
985	</script>
985<script async data-wp-strategy="async" fetchpriority="low" id="comment-reply-js" src="https://www.sebaslab.com/wp-includes/js/comment-reply.min.js?ver=7.1.2"></script>
985<script type='text/javascript' src='https://www.sebaslab.com/wp-content/boost-cache/static/b461d80db5.min.js'></script>
985<script id="wpdiscuz-combo-js-js-extra">
986var wpdiscuzAjaxObj = {"wc_hide_replies_text":"Hide Replies","wc_show_replies_text":"View Replies","wc_msg_required_fields":"Please fill out required fields","wc_msg_comment_is_trash":"Your comment was not published.","wc_msg_comment_is_spam":"Your comment was not published.","wc_invalid_field":"Some of field value is invalid","wc_error_empty_text":"please fill out this field to comment","wc_error_url_text":"url is invalid","wc_error_email_text":"email address is invalid","wc_invalid_captcha":"Invalid Captcha Code","wc_login_to_vote":"You Must Be Logged In To Vote","wc_deny_voting_from_same_ip":"You are not allowed to vote for this comment","wc_self_vote":"You cannot vote for your comment","wc_vote_only_one_time":"You've already voted for this comment","wc_voting_error":"Voting Error","wc_banned_user":"You are banned","wc_rate_limit_exceeded":"Too many requests. Please slow down.","wc_comment_edit_not_possible":"Sorry, this comment is no longer possible to edit","wc_comment_not_updated":"Sorry, the comment was not updated","wc_comment_not_edited":"You've not made any changes","wc_msg_input_min_length":"Input is too short","wc_msg_input_max_length":"Input is too long","wc_spoiler_title":"Spoiler Title","wc_cannot_rate_again":"You cannot rate again","wc_not_allowed_to_rate":"You're not allowed to rate here","wc_confirm_rate_edit":"Are you sure you want to edit your rate?","wc_follow_user":"Follow this user","wc_unfollow_user":"Unfollow this user","wc_follow_success":"You started following this comment author","wc_follow_canceled":"You stopped following this comment author.","wc_follow_email_confirm":"Please check your email and confirm the user following request.","wc_follow_email_confirm_fail":"Sorry, we couldn't send confirmation email.","wc_follow_login_to_follow":"Please login to follow users.","wc_follow_impossible":"We are sorry, but you can't follow this user.","wc_follow_not_added":"Following failed. Please try again later.","wc_inline_feedbacks":"Inline Feedbacks","wc_inline_comments_view_all":"View all comments","is_user_logged_in":"","commentListLoadType":"3","commentListUpdateType":"0","commentListUpdateTimer":"30","liveUpdateGuests":"0","wordpressThreadCommentsDepth":"2","wordpressIsPaginate":"","commentTextMaxLength":"0","replyTextMaxLength":"0","commentTextMinLength":"1","replyTextMinLength":"1","storeCommenterData":"100000","socialLoginAgreementCheckbox":"0","enableFbLogin":"0","fbUseOAuth2":"0","enableFbShare":"0","facebookAppID":"","facebookUseOAuth2":"0","enableGoogleLogin":"0","cookiehash":"b8845ecf72171189667b14922c5d718b","isLoadOnlyParentComments":"0","scrollToComment":"1","commentFormView":"expanded","enableDropAnimation":"1","isNativeAjaxEnabled":"0","userInteractionCheck":"1","enableBubble":"0","bubbleLiveUpdate":"0","bubbleHintTimeout":"45","bubbleHintHideTimeout":"10","cookieHideBubbleHint":"wpdiscuz_hide_bubble_hint","bubbleHintShowOnce":"1","bubbleHintCookieExpires":"7","bubbleShowNewCommentMessage":"0","bubbleLocation":"content_left","firstLoadWithAjax":"0","wc_copied_to_clipboard":"Copied to clipboard!","inlineFeedbackAttractionType":"blink","antispamFieldPrefixes":["ak_","akismet_comment_nonce","la_sentinelle_"],"loadRichEditor":"1","wpDiscuzReCaptchaSK":"","wpDiscuzReCaptchaTheme":"light","wpDiscuzReCaptchaVersion":"2.0","wc_captcha_show_for_guest":"0","wc_captcha_show_for_members":"0","wpDiscuzIsShowOnSubscribeForm":"0","wmuEnabled":"1","wmuInput":"wmu_files","wmuMaxFileCount":"1","wmuMaxFileSize":"2097152","wmuPostMaxSize":"136314880","wmuIsLightbox":"1","wmuMimeTypes":{"jpg":"image/jpeg","jpeg":"image/jpeg","jpe":"image/jpeg","gif":"image/gif","png":"image/png","bmp":"image/bmp","tiff":"image/tiff","tif":"image/tiff","ico":"image/x-icon"},"wmuPhraseConfirmDelete":"Are you sure you want to delete this attachment?","wmuPhraseNotAllowedFile":"Not allowed file type","wmuPhraseMaxFileCount":"Maximum number of uploaded files is 1","wmuPhraseMaxFileSize":"Maximum upload file size is 2MB","wmuPhrasePostMaxSize":"Maximum post size is 130MB","wmuPhraseDoingUpload":"Uploading in progress! Please wait.","msgEmptyFile":"File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.","msgPostIdNotExists":"Post ID not exists","msgUploadingNotAllowed":"Sorry, uploading not allowed for this post","msgPermissionDenied":"You do not have sufficient permissions to perform this action","wmuKeyImages":"images","wmuSingleImageWidth":"auto","wmuSingleImageHeight":"200","wmuIconVideo":"https://www.sebaslab.com/wp-content/plugins/wpdiscuz/assets/img/file-icons/video-audio-type.png","wmuIconFile":"https://www.sebaslab.com/wp-content/plugins/wpdiscuz/assets/img/file-icons/file-type.png","previewTemplate":"\u003Cdiv class=\"wmu-preview [PREVIEW_TYPE_CLASS]\" title=\"[PREVIEW_TITLE]\" data-wmu-type=\"[PREVIEW_TYPE]\" data-wmu-attachment=\"[PREVIEW_ID]\" data-wmu-index=\"[PREVIEW_INDEX]\"\u003E\r\n    \u003Cdiv class=\"wmu-preview-remove\"\u003E\r\n        \u003Cimg class=\"wmu-preview-img\" src=\"[PREVIEW_ICON]\"\u003E\r\n        \u003Cdiv class=\"wmu-file-name\"\u003E[PREVIEW_FILENAME]\u003C/div\u003E\r\n        \u003Cdiv class=\"wmu-preview-delete\" title=\"Delete\"\u003E\u2715\u003C/div\u003E\r\n        \u003Clabel class=\"wmu-preview-replace\" title=\"Replace\"\u003E\u21bb\u003Cinput type=\"file\" style=\"display:none\" class=\"wmu-replace-input\"\u003E\u003C/label\u003E\r\n    \u003C/div\u003E\r\n\u003C/div\u003E\r\n","isUserRated":"0","version":"7.6.71","wc_post_id":"379","wc_blog_id":"1","isCookiesEnabled":"1","loadLastCommentId":"0","dataFilterCallbacks":[],"phraseFilters":[],"scrollSize":"32","url":"https://www.sebaslab.com/wp-admin/admin-ajax.php","customAjaxUrl":"https://www.sebaslab.com/wp-content/plugins/wpdiscuz/utils/ajax/wpdiscuz-ajax.php","bubbleUpdateUrl":"https://www.sebaslab.com/wp-json/wpdiscuz/v1/update","restNonce":"a64b835dc6","is_rate_editable":"0","menu_icon":"https://www.sebaslab.com/wp-content/plugins/wpdiscuz/assets/img/plugin-icon/wpdiscuz-svg.svg","menu_icon_hover":"https://www.sebaslab.com/wp-content/plugins/wpdiscuz/assets/img/plugin-icon/wpdiscuz-svg_hover.svg","nonceName":"wpdiscuz_nonce","postAttachmentsAsGallery":"","wmuPhraseNotAllowedFileType":"File type is not allowed","is_email_field_required":"1"};
987var wpdiscuzUCObj = {"msgConfirmDeleteComment":"Are you sure you want to delete this comment?","msgConfirmCancelSubscription":"Are you sure you want to cancel this subscription?","msgConfirmCancelFollow":"Are you sure you want to cancel this follow?","additionalTab":"0"};
988//# sourceURL=wpdiscuz-combo-js-js-extra
989</script>
989<script id="wpdiscuz-combo-js-js-before">
990var wpdiscuzEditorOptions = {
991        modules: {
992        toolbar: "",
993        counter: {
994        uniqueID: "",
995        commentmaxcount : 0,
996        replymaxcount : 0,
997        commentmincount : 1,
998        replymincount : 1,
999        },
1000                },
1001        wc_be_the_first_text: "Be the First to Comment!",
1002        wc_comment_join_text: "Join the discussion",
1003        theme: 'snow',
1004        debug: 'error'
1005        };
1006        
1007//# sourceURL=wpdiscuz-combo-js-js-before
1008</script>
1008<script id="wpdiscuz-combo-js-js" src="https://www.sebaslab.com/wp-content/plugins/wpdiscuz/assets/js/wpdiscuz-combo.min.js?ver=7.6.71"></script>
1008<script id="enlighterjs-js" src="https://www.sebaslab.com/wp-content/plugins/enlighter/cache/enlighterjs.min.js?ver=OcUoap5o1P6q85J"></script>
1008<script id="enlighterjs-js-after">
1009!function(e,n){if("undefined"!=typeof EnlighterJS){var o={"selectors":{"block":"pre.EnlighterJSRAW","inline":"code.EnlighterJSRAW"},"options":{"indent":4,"ampersandCleanup":true,"linehover":true,"rawcodeDbclick":false,"textOverflow":"scroll","linenumbers":true,"theme":"atomic","language":"csharp","retainCssClasses":false,"collapse":false,"toolbarOuter":"","toolbarTop":"{BTN_RAW}{BTN_COPY}{BTN_WINDOW}{BTN_WEBSITE}","toolbarBottom":""}};(e.EnlighterJSINIT=function(){EnlighterJS.init(o.selectors.block,o.selectors.inline,o.options)})()}else{(n&&(n.error||n.log)||function(){})("Error: EnlighterJS resources not loaded yet!")}}(window,console);
1010//# sourceURL=enlighterjs-js-after
1011</script>
1011<script id="jetpack-stats-js-before">
1012_stq = window._stq || [];
1013_stq.push([ "view", {"v":"ext","blog":"86270956","post":"379","tz":"0","srv":"www.sebaslab.com","j":"1:16.2"} ]);
1014_stq.push([ "clickTrackerInit", "86270956", "379" ]);
1015//# sourceURL=jetpack-stats-js-before
1016</script>
1016<script data-wp-strategy="defer" defer fetchpriority="low" id="jetpack-stats-js" src="https://stats.wp.com/e-202640.js"></script>
1016<script defer type='text/javascript' src='https://www.sebaslab.com/wp-content/plugins/akismet/_inc/akismet-frontend.js?m=1787228558'></script>
1016<script id="sharing-js-js-extra">
1017var sharing_js_options = {"lang":"en","counts":"1","is_stats_active":"1"};
1018//# sourceURL=sharing-js-js-extra
1019</script>
1019<script id="sharing-js-js" src="https://www.sebaslab.com/wp-content/plugins/jetpack/_inc/build/sharedaddy/sharing.min.js?ver=16.2"></script>
1019<script id="sharing-js-js-after">
1020window.WPCOM_sharing_popups = window.WPCOM_sharing_popups || {};
1021window.WPCOM_sharing_popups[ "facebook" ] = "menubar=1,resizable=1,width=600,height=400";
1022window.WPCOM_sharing_popups = window.WPCOM_sharing_popups || {};
1023window.WPCOM_sharing_popups[ "linkedin" ] = "menubar=1,resizable=1,width=580,height=450";
1024window.WPCOM_sharing_popups = window.WPCOM_sharing_popups || {};
1025window.WPCOM_sharing_popups[ "twitter" ] = "menubar=1,resizable=1,width=600,height=350";
1026//# sourceURL=sharing-js-js-after
1027</script>
1027<script type="module">
1028/*! This file is auto-generated */
1029var e="script#wp-emoji-settings",t=document.querySelector(e);if(!(t instanceof HTMLScriptElement))throw new Error("Element missing: "+e);const r=JSON.parse(t.text),s=(window._wpemojiSettings=r,"wpEmojiSettingsSupports"),o=["flag","emoji"];function i(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(s,JSON.stringify(t))}catch(e){}}function c(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data);e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0);const r=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data);return t.every((e,t)=>e===r[t])}function p(e,t){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var n=e.getImageData(16,16,1,1);for(let e=0;e<n.data.length;e++)if(0!==n.data[e])return!1;return!0}function u(e,t,n,r){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\udde8\ud83c\uddf6","\ud83c\udde8\u200b\ud83c\uddf6")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!r(e,"\ud83e\u1fac8")}return!1}function f(e,t,n,r){let a;const s=(a="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):document.createElement("canvas")).getContext("2d",{willReadFrequently:!0}),o=(s.textBaseline="top",s.font="600 32px Arial",{});return e.forEach(e=>{o[e]=t(s,e,n,r)}),o}function a(e){var t=document.createElement("script");t.src=e,t.defer=!0,document.head.appendChild(t)}r.supports={everything:!0,everythingExceptFlag:!0},new Promise(t=>{let n=function(){try{var e=JSON.parse(sessionStorage.getItem(s));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(o),u.toString(),c.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"});const a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=e=>{i(n=e.data),a.terminate(),t(n)})}catch(e){}i(n=f(o,u,c,p))}t(n)}).then(e=>{for(const n in e)r.supports[n]=e[n],r.supports.everything=r.supports.everything&&r.supports[n],"flag"!==n&&(r.supports.everythingExceptFlag=r.supports.everythingExceptFlag&&r.supports[n]);var t;r.supports.everythingExceptFlag=r.supports.everythingExceptFlag&&!r.supports.flag,r.supports.everything||((t=r.source||{}).concatemoji?a(t.concatemoji):t.wpemoji&&t.twemoji&&(a(t.twemoji),a(t.wpemoji)))});
1030//# sourceURL=https://www.sebaslab.com/wp-includes/js/wp-emoji-loader.min.js
1031</script>
1031</body>
1032</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.