Skip to content

Commit

Permalink
Improve code documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Inspiaaa committed Sep 5, 2024
1 parent 293e808 commit 92e6b46
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/CoroutineBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System;

namespace HCoroutines;

/// <summary>
/// Base class of all coroutines that allows for pausing / resuming / killing / ... the coroutine.
/// It is also responsible for managing the hierarchical structure and organisation
Expand All @@ -21,6 +22,10 @@ public class CoroutineBase
public bool IsPlaying = false;

// TODO: Add way to set this property.

/// <summary>
/// Determines whether the Update() method is called during process frames or physics frames.
/// </summary>
public CoProcessMode ProcessMode { get; private set; }

public void StartCoroutine(CoroutineBase coroutine)
Expand Down

0 comments on commit 92e6b46

Please sign in to comment.