Ejemplo n.º 1
0
        public void OnPhysicsTriggerEnter(Object[] args)
        {
            var sender = args[0] as GameObject;
            var actor  = args[1] as GameObject;

            if (sender == null)
            {
                return;
            }

            interactorGameObject = actor;
            interactor           = interactorGameObject.GetComponent <IInteractor>();
            interactor.Interaction_Set(this);
            InteractionSet.Raise(gameObject, actor);
        }