Esempio n. 1
0
 void Start()
 {
     dataSended        = false;
     nt                = FindObjectOfType <networkSocket>();
     _consecutiveKills = 0;
     em                = _particleSystem.emission;
     _playerPath.SetColor(_playerColor);
     _timingDeath = 0f;
     StopRumble();
     next_move = Time.time + move_freq;
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     player = GetComponent <Rigidbody>();
     GameObject    thePlayer     = GameObject.Find("player");
     networkSocket networkScript = thePlayer.GetComponent <networkSocket>();
 }