Lemmings
Remappable Gestures For Unity
Loading...
Searching...
No Matches
Lemmings.LemmingReference Struct Reference

A single named Lemming entry in the herd. More...

Inherits Lemmings.ILemming.

Public Member Functions

float GetConfidence ()
 Returns the confidence score for this Lemming, from 0 to 1.

Data Fields

string scenePath
string objectName
string name
float confidence

Properties

GameObject Source [get, set]
 Accessor for the GameObject source. Automatically resolves from scene path or name if null. Updates the cached reference and scene path as needed.
string Name [get]
 The assigned name or label of the Lemming.

Private Attributes

GameObject source

Detailed Description

A single named Lemming entry in the herd.

Member Function Documentation

◆ GetConfidence()

float Lemmings.LemmingReference.GetConfidence ( )

Returns the confidence score for this Lemming, from 0 to 1.

Implements Lemmings.ILemming.

Property Documentation

◆ Name

string Lemmings.LemmingReference.Name
get

The assigned name or label of the Lemming.

Implements Lemmings.ILemming.

◆ Source

GameObject Lemmings.LemmingReference.Source
getset

Accessor for the GameObject source. Automatically resolves from scene path or name if null. Updates the cached reference and scene path as needed.

Implements Lemmings.ILemming.


The documentation for this struct was generated from the following file:
  • Assets/Lemmings/Scripts/Namespace/LemmingUtilities.cs