private static void innerLoad(string path, MonoBehaviour parent, MyActionTwo action = null, bool isSave = false, loadType type = loadType.None) { loadNode node; node.path = path; node.parent = parent; node.action = action; node.isSave = isSave; node.type = type; paths.Enqueue(node); LoadFactory.NextLoad(); }
public static LoadFactory LoadAsset(string[] path, MonoBehaviour parent, MyActionTwo action = null, bool isSave = false, loadType type = loadType.None) { LoadFactory.innerLoad(path, parent, action, isSave, type); return(instance); }
public static LoadFactory LoadAssetTextrue(string path, MonoBehaviour parent, MyActionTwo action = null, bool isSave = false) { LoadFactory.innerLoad(path, parent, action, isSave, loadType.Texture); return(instance); }