예제 #1
0
 //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);
     }
 }
예제 #2
0
 private void Awake()
 {
     pathStarter = CollideStarter.GetComponent <PathStarter>();
 }
예제 #3
0
			public static void Start( PacketSpy packetSpy, string path )
			{
				PacketSpyStarter starter = new PathStarter( packetSpy, path );
				Start( starter );
			}
예제 #4
0
            public static void Start(PacketSpy packetSpy, string path)
            {
                PacketSpyStarter starter = new PathStarter(packetSpy, path);

                Start(starter);
            }