Hydrogen Framework  1.3.1
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Hydrogen.Resources Class Reference

Additional static functions used to extend existing Resources support inside of Unity. More...

Static Public Member Functions

static T Load< T > (string path)
 Load the object of the specified type. More...
 

Detailed Description

Additional static functions used to extend existing Resources support inside of Unity.

Definition at line 34 of file Resources.cs.

Member Function Documentation

static T Hydrogen.Resources.Load< T > ( string  path)
static

Load the object of the specified type.

Returns
A reference to the loaded object.
Template Parameters
TObject Type.
Parameters
pathThe full path to the desired object.
Type Constraints
T :UnityEngine.Object 

Definition at line 42 of file Resources.cs.

42  : UnityEngine.Object
43  {
44  return (T)UnityEngine.Resources.Load (path, typeof(T));
45  }