Beispiel #1
0
        public static void MoveContainerOrWindow(int id, Vector2 delta)
        {
            var window = FlowSystem.GetWindow(id);

            if (window.IsContainer() == true)
            {
                var childs = window.attachItems;
                foreach (var child in childs)
                {
                    FlowSystem.MoveContainerOrWindow(child.targetId, delta);
                }
            }
            else
            {
                window.Move(delta);
            }
        }