Esempio n. 1
0
        void Start()
        {
            selectionHandler                     = new MouseTargeter(settings.SelectionSettings);
            selectionHandler.OnClicked          += OnSelectionClicked;
            selectionHandler.OnHover            += OnSelectionHover;
            selectionHandler.OnMultiSelect      += OnMultiSelectionClicked;
            selectionHandler.OnMultiSelectHover += OnMultiSelectionHover;

            targetingHandler            = new MouseTargeter(settings.TargetSettings);
            targetingHandler.OnClicked += OnTargetClicked;
        }