Esempio n. 1
0
        private void OnHolderRemoved(DragHolder inHolder, DragObject inObject)
        {
            ExpressionPiece piece = inObject.GetComponent <ExpressionPiece>();

            if (Expression[PieceIndex] == piece)
            {
                Expression[PieceIndex] = null;
            }
        }
Esempio n. 2
0
        private void OnHolderAdded(DragHolder inHolder, DragObject inObject)
        {
            ExpressionPiece piece = inObject.GetComponent <ExpressionPiece>();

            Expression[PieceIndex] = piece;
        }