Ejemplo n.º 1
0
 protected virtual void Die()
 {
     if (isMine)
     {
         //networkView.group = (int)Group.Spawn;
         //networkView.RPC("Die", RPCMode.OthersBuffered);
     }
     isdead  = true;
     enabled = false;
     _TimerA.AddMethod(1000, Spawn);
     ShowDeath(true);
     if (isMine)
     {
         PLView plv = PLView.pls[killedyby];
         plv.networkView.RPC("AddPoint", RPCMode.All, killedyby == Network.player ? -1 : 1);
     }
 }
Ejemplo n.º 2
0
 protected override void Start()
 {
     //Trace.Log("Start owner" + OwnerID);
     _LocalPLView = this;
     networkView.RPC("SetNick", RPCMode.AllBuffered, ConnectGui._This.Nick);
 }
Ejemplo n.º 3
0
 protected override void Start()
 {
     //Trace.Log("Start owner" + OwnerID);
     _LocalPLView = this;
     networkView.RPC("SetNick", RPCMode.AllBuffered, ConnectGui._This.Nick);
 }