Table of Contents

Class GameObjectProxy

Namespace
CustomKnight
Assembly
CustomKnight.dll

The proxy GameObject that is used to create the GO hierarchy that the swaps must be applied to

public class GameObjectProxy
Inheritance
GameObjectProxy
Inherited Members

Fields

alias

alias of the file

public string alias

Field Value

string

children

Direct Childern of this GOP

public Dictionary<string, GameObjectProxy> children

Field Value

Dictionary<string, GameObjectProxy>

fileType

Type of the file that is detected

public string fileType

Field Value

string

hasChildren

if the GOP has Children

public bool hasChildren

Field Value

bool

hasTexture

if the GOP has texture

public bool hasTexture

Field Value

bool

name

Name/path the file

public string name

Field Value

string

rootPath

root path of the file (name of the folder under swap)

public string rootPath

Field Value

string

Methods

TraverseGameObjectDirectory(string)

Create the hierarchy based on detecting files and directories at a particular path

public void TraverseGameObjectDirectory(string basePath)

Parameters

basePath string

TraverseGameObjectPath(string, string, string, string)

Create the hierarchy defined by the given path

public void TraverseGameObjectPath(string path, string rootPath, string name, string alias = "spl_ck_dndy")

Parameters

path string
rootPath string
name string
alias string

getAliasPath()

Get the alias Path

public string getAliasPath()

Returns

string

getObjectPath()

Get the file Path

public string getObjectPath()

Returns

string

getTexturePath()

get the texture path

public string getTexturePath()

Returns

string