Class GhostCodeGen | Unity NetCode | 0.1.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Class GhostCodeGen

    Inheritance
    Object
    GhostCodeGen
    Namespace: Unity.NetCode.Editor
    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
    Type Name Description
    String assetPath
    String rootPath
    String fileName
    Dictionary<String, String> replacements
    GhostCodeGen.Batch batch

    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
    Type Name Description
    String fragment
    Dictionary<String, String> replacements
    GhostCodeGen target
    String targetFragment
    String extraIndent

    GetPrefabAssetPath(GameObject)

    Declaration
    public static string GetPrefabAssetPath(GameObject go)
    Parameters
    Type Name Description
    GameObject go
    Returns
    Type Description
    String
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023