public virtual void GetDrawerOut() { MainDrawerHandler.SetDrawerToOut(TheDrawerDirection); if (Comp_Animator == null) { Comp_Animator = GetComponent <Animator>(); } Comp_Animator.SetBool("GetIn", false); }
public virtual void BringDrawerIn() { MainDrawerHandler.SetDrawerToIn(TheDrawerDirection, this); if (Comp_Animator == null) { Comp_Animator = GetComponent <Animator>(); } Comp_Animator.SetBool("GetIn", true); }
void OnLongPressMover(LongPressGesture gesture) { if (gesture.Selection == this.gameObject) { if (!GUISprites.isOnAGUIElement) { MainDrawerHandler.CloseAllOpenDrawers(); ShowSelectedState(); ChangePositionHandler.SelectMovingObject(this); } } }