Exemple #1
0
        private void EventAdd(Instance inst)
        {
            if (!_allowEvent)
            {
                return;
            }
            var eArg = new InstanceCollectionEventArgs()
            {
                Reference = inst,
                Type      = InstanceCollectionEventType.AddObject
            };

            OnObjectAdd?.Invoke(eArg);
            OnGeneralizedEvent?.Invoke(eArg);
        }
 public void addTuioObject(TuioObject tobj) => OnObjectAdd?.Invoke(tobj);