Skip to content

Commit

Permalink
chore: fix .rst code block formatting
Browse files Browse the repository at this point in the history
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
  • Loading branch information
Thomas-X and AThousandShips authored Oct 24, 2023
1 parent d93248a commit 5208db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/scripting/c_sharp/c_sharp_signals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Composing signals using Interfaces
You might want to re-use signals in some classes for the sake of composability. You can do this via defining your signals in interfaces and implementing the appropriate interface.
Using this, it should also ease the refactoring of your signals later on as there's one source of truth by using this pattern.

Here we can use the signals `OnHealthChanged` and `OnSpellCast` inside `Warrior`, inherited from `IHealth` and `ISpell` respectively.
Here we can use the signals ``OnHealthChanged`` and ``OnSpellCast`` inside ``Warrior``, inherited from ``IHealth`` and ``ISpell`` respectively.

.. code-block:: csharp
Expand Down

0 comments on commit 5208db7

Please sign in to comment.