Skip to content
This repository has been archived by the owner on Dec 3, 2020. It is now read-only.

Developing

donghokang edited this page Nov 25, 2019 · 8 revisions

The following sections introduces how to develop RaiSimUnity on Linux (Ubuntu 18.04 LTS).

Unity Hub and Unity Editor

Unity Hub is a management tool for Unity Projects and installation. See this for more details about Unity Hub.

  1. Get Unity Hub. Unity Hub 2.0.0 for Linux is available on here
  2. Once you download Unity Hub, install appropriate version of Unity.
    • RaiSimUnity is only tested in Unity 2019.2.9 and 2019.2.13 but develop RaiSimUnity with Unity >= 2019.2.13 would not be a big problem; please leave an Issue if there's compatibility problem.
    • If you cannot find 2019.2.9 or 2019.2.13 from Unity Hub, go to download archive. Unity Hub - Install Unity
  3. Add RaiSimUnity project by adding a directory contains source code. (see this for getting source code) Unity Hub - Add Project
  4. Open RaiSimUnity project and open Assets/Scenes/RaiSimUnityScene Unity Hub - Open Project

Now you can develop and build RaiSimUnity project.

Rider IDE (optional)

We strongly recommend to use JetBrains Rider IDE to edit and debug scripts.

  1. Open RaiSimUnity project from Unity Editor.
  2. Set your default editor to Rider on Edit > Preference > External Tools > External Script Editor
  3. You can now open your Unity script in Rider. Once you open C# script by double click in Unity Editor it will automatically redirect you to Rider. Rider
    • You can run, edit and debug your Unity project from Rider
    • See this for more details.

Debugging

  1. Run debug in Rider by pushing debug button.
  2. Start application by pushing start button in Rider.
  3. You can set breakpoints in Rider.

User Guide

Getting Started

References

Clone this wiki locally