Skip to content

Allows for importing of prefab files from Project Arrhythmia.

Notifications You must be signed in to change notification settings

Dustpup/PA_Prefab_Constructor

Repository files navigation

LOGO

PA_Prefab_Constructor

HOW TO USE

LOADING THE FILE INTO THE OBJECT.

using PA_PLUGIN;

public class Program
{
    static void Main()
    {
        Prefab pre = Prefab.Load("FILENAME LOCATION"); // Loading the lsb file (( Must Include Extension ))
        Console.WriteLine(pre); // Converts Object to JSON
    }
}

SAVING THE OBJECT TO A FILE

Using PA_PLUGIN;

public class Program
{
    static void Main()
    {
        //(( Must Include Extension ))
        Prefab pre = Prefab.Load("FILENAME LOCATION"); // Get a PreExisting File to use for saving. 
        
        //((Must Include File Extension))
        pre.Save("<Location of New File>"); //Saves a new File. 
        
        //((Must Include File Extension))
        pre.SaveAs("<Location Of Existing File>"); // Overwrites the File. 
    }
}

About

Allows for importing of prefab files from Project Arrhythmia.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages