public void TakeMoveable(IMoveable moveable) { //Debug.Log("HandScript.TakeMoveable(" + moveable.ToString() + ")"); this.Moveable = moveable; moveable.AssignToHandScript(backgroundImage); icon.sprite = moveable.Icon; icon.color = Color.white; if (controlsManager.GamePadModeActive == true) { rectTransform.pivot = new Vector2(0, 1); } else { rectTransform.pivot = new Vector2(0.5f, 0.5f); } }