Gaze Interaction System
Search Results for

    Show / Hide Table of Contents

    Class ResourcesManager

    Loads assets from the Resources directory.

    Inheritance
    System.Object
    ResourcesManager
    Namespace: TS.GazeInteraction
    Assembly: .dll
    Syntax
    public class ResourcesManager : MonoBehaviour

    Fields

    FILE_PREFAB_RETICLE

    Declaration
    public const string FILE_PREFAB_RETICLE = "gaze_reticle"
    Field Value
    Type Description
    string

    Methods

    GetPrefab(string)

    Loads and returns the asset specified in file from the Resources directory.

    Declaration
    public static GameObject GetPrefab(string file)
    Parameters
    Type Name Description
    string file

    Name of the asset to load. Use one of the constants.

    Returns
    Type Description
    GameObject

    Returns the loaded GameObject.

    In This Article
    Back to top Generated by DocFX