Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 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);
 }
Esempio n. 3
0
 public static LoadFactory LoadAssetTextrue(string path, MonoBehaviour parent, MyActionTwo action = null, bool isSave = false)
 {
     LoadFactory.innerLoad(path, parent, action, isSave, loadType.Texture);
     return(instance);
 }