//PathActivated overload public static void AddInvoker(PathStarter puzzleInvoker) { //add new puzzle to list //then add a listener to the puzzle puzzleInvokers.Add(puzzleInvoker); foreach (UnityAction <AdventurePath> listener in puzzleListeners) { puzzleInvoker.AddListener(listener); } }
private void Awake() { pathStarter = CollideStarter.GetComponent <PathStarter>(); }
public static void Start( PacketSpy packetSpy, string path ) { PacketSpyStarter starter = new PathStarter( packetSpy, path ); Start( starter ); }
public static void Start(PacketSpy packetSpy, string path) { PacketSpyStarter starter = new PathStarter(packetSpy, path); Start(starter); }