Examples of UnityObject


Examples of info.ata4.unity.serdes.UnityObject

    public static String getObjectName(AssetFile asset, ObjectPath path) {
        Deserializer deser = new Deserializer(asset);
        String name = null;
       
        try {
            UnityObject obj = deser.deserialize(path);
            name = obj.getValue("m_Name");
        } catch (OutOfMemoryError ex) {
            // Deserializer choked on an array size and clogged the heap, try
            // to clean up this mess
            deser = null;
            System.gc();
View Full Code Here

Examples of info.ata4.unity.serdes.UnityObject

                }
            } else {
                AssetExtractHandler handler = getHandler(className);
               
                if (handler != null) {
                    UnityObject obj;
                   
                    try {
                        obj = deser.deserialize(path);
                    } catch (Exception ex) {
                        L.log(Level.WARNING, "Can't deserialize " + path, ex);
View Full Code Here

Examples of info.ata4.unity.serdes.UnityObject

            // skip filtered classes
            if (cf != null && !cf.accept(path)) {
                continue;
            }

            UnityObject obj;
           
            try {
                obj = deser.deserialize(path);
            } catch (Exception ex) {
                L.log(Level.SEVERE, "Deserialization failed for " + path, ex);
View Full Code Here

Examples of info.ata4.unity.serdes.UnityObject

        dumpValue(value.get());
    }
   
    private void dumpValue(Object value) {
        if (value instanceof UnityObject) {
            UnityObject obj = (UnityObject) value;
            dumpObject(obj);
        } else if (value instanceof UnityTag) {
            UnityTag val = (UnityTag) value;
            Object valObj = val.get();
           
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.