16 lines
282 B
C#
16 lines
282 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using UnityEngine;
|
|
|
|
class Resloader
|
|
{
|
|
public static T Load<T>(string path) where T : UnityEngine.Object
|
|
{
|
|
return Resources.Load<T>(path);
|
|
}
|
|
}
|
|
|