Class GhostCodeGen
Syntax
public class GhostCodeGen
Constructors
GhostCodeGen(String)
Declaration
public GhostCodeGen(string template)
Parameters
Type |
Name |
Description |
String |
template |
|
Methods
GenerateFile(String, String, String, Dictionary<String, String>, GhostCodeGen.Batch)
Declaration
public void GenerateFile(string assetPath, string rootPath, string fileName, Dictionary<string, string> replacements, GhostCodeGen.Batch batch)
Parameters
GenerateFragment(String, Dictionary<String, String>, GhostCodeGen, String, String)
Declaration
public void GenerateFragment(string fragment, Dictionary<string, string> replacements, GhostCodeGen target = null, string targetFragment = null, string extraIndent = null)
Parameters
GetPrefabAssetPath(GameObject)
Declaration
public static string GetPrefabAssetPath(GameObject go)
Parameters
Type |
Name |
Description |
GameObject |
go |
|
Returns