class PrefabFile

in global :: Sandbox

😔 No documentation found.


public bool ShowInMenu { get; set; }

If true then we'll show this in the right click menu, so people can create it

If ShowInMenu is true, this is the path in the menu for this prefab

Icon to show to the left of the option in the menu

public bool DontBreakAsTemplate { get; set; }

If true then the prefab will not be broken when created as a template

public string GetMetadata( string title, string defaultValue = null )

Read metadata saved using a ISceneMetadata based component, such as SceneInformation

public PrefabFile( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public string ResourceName { get; }

😔 No documentation found.

public string ResourcePath { get; }

😔 No documentation found.

public int ResourceId { get; }

😔 No documentation found.

public bool IsValid { get; }

😔 No documentation found.

public JsonObject Serialize( )

😔 No documentation found.

public void LoadFromJson( string json )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public IEnumerable<string> GetReferencedPackages( )

😔 No documentation found.

public void StateHasChanged( )

😔 No documentation found.

public bool HasUnsavedChanges { get; }

😔 No documentation found.

public int ResourceVersion { get; }

😔 No documentation found.

public void Deserialize( JsonObject jso )

😔 No documentation found.

public JsonObject RootObject { get; set; }

😔 No documentation found.