/// <summary>
        /// Raises event <see cref="ScriptEventBroadcasted"/>.
        /// </summary>
        /// <param name="e">Data that describes the event.</param>
        protected virtual void OnScriptEventBroadcasted(EntityScriptEventEventArgs e)
        {
            EventHandler <EntityScriptEventEventArgs> handler = this.ScriptEventBroadcasted;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 /// <summary>
 /// Raises event <see cref="ScriptEventBroadcasted"/>.
 /// </summary>
 /// <param name="e">Data that describes the event.</param>
 protected virtual void OnScriptEventBroadcasted(EntityScriptEventEventArgs e)
 {
     EventHandler<EntityScriptEventEventArgs> handler = this.ScriptEventBroadcasted;
     if (handler != null) handler(this, e);
 }