C# 클래스 PersistentTrails.CraftLoader

파일 보기 프로젝트 열기: GrJo/KSPPersistentTrails 1 사용 예제들

공개 메소드들

메소드 설명
assembleCraft ( string craftName, bool collidersOn ) : GameObject
findPartModel ( string partName ) : GameObject
getParts ( Vessel vessel, bool fetchModel ) : List
getPhysicMaterial ( ) : PhysicMaterial
loadCraftFromFile ( string fileName ) : List
saveCraftToFile ( ) : void
setColliderStateInChildren ( GameObject rootObject, bool newValue ) : void
setLightStateInChildren ( GameObject rootObject, bool newValue ) : void

비공개 메소드들

메소드 설명
serialize ( ) : string

메소드 상세

assembleCraft() 공개 정적인 메소드

public static assembleCraft ( string craftName, bool collidersOn ) : GameObject
craftName string
collidersOn bool
리턴 UnityEngine.GameObject

findPartModel() 공개 정적인 메소드

public static findPartModel ( string partName ) : GameObject
partName string
리턴 UnityEngine.GameObject

getParts() 공개 정적인 메소드

public static getParts ( Vessel vessel, bool fetchModel ) : List
vessel Vessel
fetchModel bool
리턴 List

getPhysicMaterial() 공개 정적인 메소드

public static getPhysicMaterial ( ) : PhysicMaterial
리턴 UnityEngine.PhysicMaterial

loadCraftFromFile() 공개 정적인 메소드

public static loadCraftFromFile ( string fileName ) : List
fileName string
리턴 List

saveCraftToFile() 공개 정적인 메소드

public static saveCraftToFile ( ) : void
리턴 void

setColliderStateInChildren() 공개 정적인 메소드

public static setColliderStateInChildren ( GameObject rootObject, bool newValue ) : void
rootObject UnityEngine.GameObject
newValue bool
리턴 void

setLightStateInChildren() 공개 정적인 메소드

public static setLightStateInChildren ( GameObject rootObject, bool newValue ) : void
rootObject UnityEngine.GameObject
newValue bool
리턴 void