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; }
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; }
public void DeactivatePanel() { _indicator.Hide(); }