메소드 | 설명 | |
---|---|---|
AddOrCreateResource ( this part, PartResourceDefinition info, float maxAmount, float amount ) : PartResource | ||
AddResource ( this part, PartResourceDefinition info, float maxAmount, float amount ) : PartResource | ||
GetPrefab ( this part ) : Part | ||
GetResourceCostMax ( this part ) : float | ||
GetResourceCostOffset ( this part ) : float | ||
LogError ( this part, object message ) : void | ||
LogInfo ( this part, object message ) : void | ||
LogWarning ( this part, object message ) : void |
public static AddOrCreateResource ( this part, PartResourceDefinition info, float maxAmount, float amount ) : PartResource | ||
part | this | |
info | PartResourceDefinition | |
maxAmount | float | |
amount | float | |
리턴 | PartResource |
public static AddResource ( this part, PartResourceDefinition info, float maxAmount, float amount ) : PartResource | ||
part | this | |
info | PartResourceDefinition | |
maxAmount | float | |
amount | float | |
리턴 | PartResource |
public static GetResourceCostMax ( this part ) : float | ||
part | this | |
리턴 | float |
public static GetResourceCostOffset ( this part ) : float | ||
part | this | |
리턴 | float |
public static LogError ( this part, object message ) : void | ||
part | this | |
message | object | |
리턴 | void |
public static LogInfo ( this part, object message ) : void | ||
part | this | |
message | object | |
리턴 | void |
public static LogWarning ( this part, object message ) : void | ||
part | this | |
message | object | |
리턴 | void |