public void Start()
    {
        // Obtain a reference to the Sprite that this component is attached to
        _sprite = GetComponent<dfSprite>();

        // We don't want the drag cursor visible unless it is being used
        _sprite.Hide();

        // We don't want the drag cursor to intercept mouse messages
        _sprite.IsInteractive = false;
        _sprite.IsEnabled = false;
    }
Exemple #2
0
    public void Start()
    {
        // Obtain a reference to the Sprite that this component is attached to
        _sprite = GetComponent <dfSprite>();

        // We don't want the drag cursor visible unless it is being used
        _sprite.Hide();

        // We don't want the drag cursor to intercept mouse messages
        _sprite.IsInteractive = false;
        _sprite.IsEnabled     = false;
    }
Exemple #3
0
 public void DeactivatePanel()
 {
     _indicator.Hide();
 }