浏览代码

Merge pull request #5148 from timothyqiu/internal-rooms-link

Add link when internal rooms are first mentioned
Rémi Verschelde 4 年之前
父节点
当前提交
66d8f13d42

+ 2 - 0
tutorials/3d/portals/advanced_room_and_portal_usage.rst

@@ -64,6 +64,8 @@ This is an example of a simple RoomGroup script to turn on and off a Directional
 
 .. tip:: You can apply the same technique for switching on and off weather effects, skyboxes and much more.
 
+.. _doc_rooms_and_portals_internal_rooms:
+
 Internal Rooms
 ~~~~~~~~~~~~~~
 

+ 1 - 1
tutorials/3d/portals/first_steps_with_rooms_and_portals.rst

@@ -47,7 +47,7 @@ If you accidentally create overlapping rooms, the editor will flag a warning whe
 
 The system does attempt to cope with overlapping rooms as best as possible by making the current room *"sticky"*. Each object remembers which room it was in last frame, and stays within it as long as it does not move outside the convex hull room bound. This can result in some hysteresis in these overlapping zones.
 
-There is one exception however for *internal rooms*. (These internal rooms are described later, you do not have to worry about these to start with.)
+There is one exception however for :ref:`internal rooms<doc_rooms_and_portals_internal_rooms>`. You do not have to worry about these to start with.
 
 How do I create a room?
 ^^^^^^^^^^^^^^^^^^^^^^^