• Dev Blog
  • Say Hello!
  • GenericObserver<T>


    A generic version of an observer. Handles any serializable type, like floats, ints, string, etc.

    public class InitialPrefabs.DaniAI.GenericObserver<T>
        : Observer


    Type Name Summary
    T Output The current output value.
    Type OutputType The current type of the output.


    Type Name Summary
    object GetOutput() The Observer’s output value as an object type.
    T OnObserverUpdate() Updates the observer’s value and returns an output value as a result. Override this method to provide an up-to-date output value for the observer.