C# Class ElevatedTrainStationTrack.Util

Afficher le fichier Open project: earalov/Skylines-ElevatedTrainStationTrack

Méthodes publiques

Méthode Description
ClonePrefab ( NetInfo originalPrefab, string newName, Transform parentTransform ) : NetInfo
GetAllFieldsFromType ( this type ) : IEnumerable
GetFieldByName ( this type, string name ) : FieldInfo
LoadMesh ( string fullPath, string meshName ) : Mesh

Method Details

ClonePrefab() public static méthode

public static ClonePrefab ( NetInfo originalPrefab, string newName, Transform parentTransform ) : NetInfo
originalPrefab NetInfo
newName string
parentTransform UnityEngine.Transform
Résultat NetInfo

GetAllFieldsFromType() public static méthode

public static GetAllFieldsFromType ( this type ) : IEnumerable
type this
Résultat IEnumerable

GetFieldByName() public static méthode

public static GetFieldByName ( this type, string name ) : FieldInfo
type this
name string
Résultat System.Reflection.FieldInfo

LoadMesh() public static méthode

public static LoadMesh ( string fullPath, string meshName ) : Mesh
fullPath string
meshName string
Résultat UnityEngine.Mesh