Exemplo n.º 1
0
        protected void CameraLateUpdateHandler(FollowUser group)
        {
            var handler = CameraLateUpdateHandlerInstance;

            handler.System = this;
            handler.Group  = group;
            StartCoroutine(handler.Execute());
        }
Exemplo n.º 2
0
        public override void Execute()
        {
            Debug.Log("Remove lobby scene here, go to caves sceen.");
            GameObject spawn     = GameObject.Find("SpawnLocation" + (PhotonNetwork.room.playerCount - 1));
            GameObject self      = PhotonNetwork.Instantiate("Prefabs/User", spawn.transform.position, spawn.transform.rotation, 0);
            FollowUser camFollow = GameObject.FindObjectOfType <FollowUser> ();

            camFollow.Target = self;
        }
 public virtual System.Collections.IEnumerator Execute() {
     ActionNode9_FollowUser = this.Group;
     // ActionNode
     while (this.DebugInfo("7035a610-77c8-488e-bc6e-4576c1841565","834a4a73-c79a-4c81-bd10-1cb6b733d6c2", this) == 1) yield return null;
     // Visit DireDungeons.LateUpdateFollowUser
     ActionNode9.FollowUser = ActionNode9_FollowUser;
     ActionNode9.System = System;
     ActionNode9.Execute();
     yield break;
 }
 public virtual System.Collections.IEnumerator Execute() {
     ActionNode6_FollowUser = this.Group;
     // ActionNode
     while (this.DebugInfo("","7035a610-77c8-488e-bc6e-4576c1841565", this) == 1) yield return null;
     // Visit DireDungeons.UpdateFollowUser
     ActionNode6.FollowUser = ActionNode6_FollowUser;
     ActionNode6.System = System;
     ActionNode6.Execute();
     yield break;
 }
Exemplo n.º 5
0
 public virtual System.Collections.IEnumerator Execute()
 {
     ActionNode6_FollowUser = this.Group;
     // ActionNode
     while (this.DebugInfo("", "7035a610-77c8-488e-bc6e-4576c1841565", this) == 1)
     {
         yield return(null);
     }
     // Visit DireDungeons.UpdateFollowUser
     ActionNode6.FollowUser = ActionNode6_FollowUser;
     ActionNode6.System     = System;
     ActionNode6.Execute();
     yield break;
 }
 public virtual System.Collections.IEnumerator Execute()
 {
     ActionNode9_FollowUser = this.Group;
     // ActionNode
     while (this.DebugInfo("7035a610-77c8-488e-bc6e-4576c1841565", "834a4a73-c79a-4c81-bd10-1cb6b733d6c2", this) == 1)
     {
         yield return(null);
     }
     // Visit DireDungeons.LateUpdateFollowUser
     ActionNode9.FollowUser = ActionNode9_FollowUser;
     ActionNode9.System     = System;
     ActionNode9.Execute();
     yield break;
 }
Exemplo n.º 7
0
 protected void CameraLateUpdateHandler(FollowUser group) {
     var handler = CameraLateUpdateHandlerInstance;
     handler.System = this;
     handler.Group = group;
     StartCoroutine(handler.Execute());
 }