Exemple #1
0
 internal bool Exist(GameObject from, GameObject target)
 {
     return(!IsDisposing && CachedValues.ContainsKey(new KeyValuePair <int, int>(@from.NetworkId, target.NetworkId)));
 }
Exemple #2
0
 internal bool Exist(GameObject from, GameObject target, float range)
 {
     return(!IsDisposing && CachedValues.ContainsKey(new Tuple <int, int, float>(@from.NetworkId, target.NetworkId, range)));
 }