Exemplo n.º 1
0
        protected WindowBase(string title, float width, float height)
        {
            titleContent.text        = title;
            titleContent.tooltip     = "Giacomelli Editor Toolbox / {0}".With(title);
            autoRepaintOnSceneChange = true;
            minSize = new Vector2(width, height);

            MetadataBootstrap.Setup();
        }
        public void Initialize()
        {
            var assetsRootFolder = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Resources");

            MetadataBootstrap.Setup(assetsRootFolder, MockRepository.GenerateMock <ILog>());
        }