Skip to content

Commit

Permalink
Development description edited
Browse files Browse the repository at this point in the history
  • Loading branch information
Ized06 committed Jun 28, 2017
1 parent 5b427bd commit dc83859
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/plugin/develop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ Mac

- Open the :file:`*.xcworkspace` file and build. The plugin code will be compiled together with the game project.

.. note::

Please make sure that you have installed the UnrealCV plugin to Unreal Engine. If you wish to install the plugin in the project, please install the plugin in the project before you generate Xcode Project. To switch the version, you can right click :file:`playground.uproject` and choose :code:`Service->Switch Unreal Engine Version`.


Useful resources for development include:

Expand All @@ -92,6 +88,12 @@ The benefit of implementing an UnrealCV command are:
1. You can use the communication protocol provided by UnrealCV to exchange data between your program and UE4.
2. You can share your code with other researchers, so that it can be used by others.


.. note::

You are supposed to edit your code in `playground->Plugins->UnrealCV` intead of `UE4->Plugins->UnrealCV`.


First we go through a very simple example which prints a message. Assume that we want to add a commamd :code:`vget /object/helloworld` to print "Hello World!". We need to modify two files: :file:`ObjectHandler.h` and :file:`ObjectHandler.cpp`.

In :file:`ObjectHandler.h`, we need to add a member function:
Expand Down

0 comments on commit dc83859

Please sign in to comment.