Beispiel #1
0
    public void AddNewPerson(int t)
    {
        _pList.Add(t);
        int personIdx = _pList.IndexOf(t);

        PendingPersonIdx = personIdx;
        //Debug.Log("Someone Coming:" + persons[personIdx].name);

        newInfo.Clear();
        persons[personIdx].GetComponent <PersonInfo>().UserID = t;
        persons[personIdx].GetComponent <PersonInfo>().SetBadgeInfo(newInfo);
        //Debug.Log("Anonamous person just came in, waiting for identification info from Awarepoint");
        trackintInterface.pendingAlarm = true;
        StartCoroutine("WaitAnonTimeOut", anonamousTimeOut);
        headsupCont.EnterRoomAnon(); //
    }
Beispiel #2
0
 public void Reset()
 {
     //Debug.Log ("Reset: " + gameObject.name);
     personCenter = Vector2.zero;
     depth        = 0;
     //person status info
     isFreezing = false;
     isOut      = true;
     oldPos     = originPos;
     currentPos = originPos;
     gameObject.transform.position = originPos;
     //person hospital info
     badgeInfo.Clear();
     userID           = 0;
     wholeTextureOnce = 0;
 }