Exemple #1
0
 public bool Compare(IdBehaviour idBehaviour)
 {
     if (idBehaviour.id == null)
     {
         return(false);
     }
     return(Compare(idBehaviour.id));
 }
Exemple #2
0
    private void OnTriggerStay(Collider other)
    {
        otherBehaviourObj = other.GetComponent <IdBehaviour>();
        if (otherBehaviourObj == null)
        {
            return;
        }

        otherIdObj = otherBehaviourObj.nameIdObj;
        CheckId(3);
    }