Nez.UI.TooltipManager.getInstance C# (CSharp) Method

getInstance() static public method

static public getInstance ( ) : TooltipManager
return TooltipManager
		static public TooltipManager getInstance()
		{
			if( instance == null )
				instance = new TooltipManager();
			return instance;
		}

Usage Example

Example #1
0
        public Tooltip(Element contents, Element targetElement)
        {
            _manager = TooltipManager.getInstance();

            _container = new Container(contents);
            _container.setOrigin(AlignInternal.center);
            _targetElement = targetElement;
            _container.setTouchable(Touchable.Disabled);
        }