using System.Collections; using System.Collections.Generic; using UnityEngine; public class UnityHelpers { public static T LoadAsset(string path) where T : Object { return Resources.Load(path.Substring("Assets/Resources/".Length).Split('.')[0]); } }