Exemple #1
0
        public override void Update(bool isTop, bool isCovered)
        {
            base.Update(isTop, isCovered);

            var editor = Manager.GetContext <Editor>();

            flowLayout1.Pack((float)(300 + Math.Sin(editor.TimeSource.Current * 0.3) * 200));
            flowLayout2.Pack((float)(300 + Math.Sin(editor.TimeSource.Current * 0.3) * 200));
            flowLayout3.Pack((float)(300 + Math.Sin(editor.TimeSource.Current * 0.3) * 200), editor.Window.Height / 2);
        }