コード例 #1
0
        private void ShowGUIPhotoshop()
        {
            EditorGUILayout.Space();

            if (GUILayout.Button("Send screenshot to Photoshop"))
            {
                PhotoshopHandler.SendToPhotoshop();
            }
            if (GUILayout.Button("Read preset from Photoshop"))
            {
                PhotoshopHandler.ReadFromPhotoshopTools();
            }
        }
コード例 #2
0
		void OnEnable()
		{
			Connection = new PhotoshopConnection();

			PhotoshopProtocol = new PhotoshopProtocol( Connection );

			Cameras = new CameraCollection();

			BackBufferHandler = new BackBufferHandler( Cameras );

			LUTWriter = new LUTWriter();

			PhotoshopHandler = new PhotoshopHandler( PhotoshopProtocol, BackBufferHandler, LUTWriter, Settings, Cameras );

			FileHandler = new FileHandler( BackBufferHandler, LUTWriter, Settings, Cameras );

			Cameras.GenerateCameraList();
		}
コード例 #3
0
        void OnEnable()
        {
            Connection = new PhotoshopConnection();

            PhotoshopProtocol = new PhotoshopProtocol(Connection);

            Cameras = new CameraCollection();

            BackBufferHandler = new BackBufferHandler(Cameras);

            LUTWriter = new LUTWriter();

            PhotoshopHandler = new PhotoshopHandler(PhotoshopProtocol, BackBufferHandler, LUTWriter, Settings, Cameras);

            FileHandler = new FileHandler(BackBufferHandler, LUTWriter, Settings, Cameras);

            Cameras.GenerateCameraList();
        }