C# 클래스 ElevatedTrainStationTrack.Util

파일 보기 프로젝트 열기: earalov/Skylines-ElevatedTrainStationTrack

공개 메소드들

메소드 설명
ClonePrefab ( NetInfo originalPrefab, string newName, Transform parentTransform ) : NetInfo
GetAllFieldsFromType ( this type ) : IEnumerable
GetFieldByName ( this type, string name ) : FieldInfo
LoadMesh ( string fullPath, string meshName ) : Mesh

메소드 상세

ClonePrefab() 공개 정적인 메소드

public static ClonePrefab ( NetInfo originalPrefab, string newName, Transform parentTransform ) : NetInfo
originalPrefab NetInfo
newName string
parentTransform UnityEngine.Transform
리턴 NetInfo

GetAllFieldsFromType() 공개 정적인 메소드

public static GetAllFieldsFromType ( this type ) : IEnumerable
type this
리턴 IEnumerable

GetFieldByName() 공개 정적인 메소드

public static GetFieldByName ( this type, string name ) : FieldInfo
type this
name string
리턴 System.Reflection.FieldInfo

LoadMesh() 공개 정적인 메소드

public static LoadMesh ( string fullPath, string meshName ) : Mesh
fullPath string
meshName string
리턴 UnityEngine.Mesh