Browse Source

Added code header about MIT license

master
Christopher 9 years ago
parent
commit
ee0711e8a1
  1. 8
      Assets/Fungus/Flowchart/Scripts/Flowchart.cs

8
Assets/Fungus/Flowchart/Scripts/Flowchart.cs

@ -1,10 +1,14 @@
/**
* This code is part of the Fungus library (http://fungusgames.com) created by Chris Gregan (http://twitter.com/gofungus).
* It is released for free under the MIT open source license (https://opensource.org/licenses/MIT)
*/
using UnityEngine; using UnityEngine;
using UnityEngine.EventSystems; using UnityEngine.EventSystems;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System; using System;
using System.Text; using System.Text;
using System.Linq; using System.Linq;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
@ -488,7 +492,7 @@ namespace Fungus
*/ */
public static void BroadcastFungusMessage(string messageName) public static void BroadcastFungusMessage(string messageName)
{ {
MessageReceived[] eventHandlers = GameObject.FindObjectsOfType<MessageReceived>(); MessageReceived[] eventHandlers = UnityEngine.Object.FindObjectsOfType<MessageReceived>();
foreach (MessageReceived eventHandler in eventHandlers) foreach (MessageReceived eventHandler in eventHandlers)
{ {
eventHandler.OnSendFungusMessage(messageName); eventHandler.OnSendFungusMessage(messageName);

Loading…
Cancel
Save