Packages/com.github.homuler.mediapipe/Runtime/Scripts/Unity/Annotation/HierarchicalAnnotation.cs
/// <summary>
///   Prepare to annotate <paramref name="target" />.
///   If <paramref name="target" /> is not null, it activates itself.
/// </summary>
/// <return>
///   If it is activated and <paramref name="target" /> can be drawn.
///   In effect, it returns if <paramref name="target" /> is null or not.
/// </return>
/// <param name="target">Data to be annotated</param>
Prepare to annotate .
If  is not null, it activates itself.
Prepare to annotate . If is not null it activates itself .
protected bool ActivateFor<T>(T target) {
      if (target == null) {
        SetActive(false);
        return false;
      }
      SetActive(true);
      return true;
    }
protected bool ActivateFor < T > ( T target ) { if ( target == null ) { SetActive ( false ) ; return false ; } SetActive ( true ) ; return true ; }
Prepare to annotate .
Prepare to annotate .
If it is activated and  can be drawn.
In effect, it returns if  is null or not.
If it is activated and can be drawn . In effect it returns if is null or not .
target
T
Data to be annotated
Data to be annotated