Méthode | Description | |
---|---|---|
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 | |
Résultat | PartResource |
public static AddResource ( this part, PartResourceDefinition info, float maxAmount, float amount ) : PartResource | ||
part | this | |
info | PartResourceDefinition | |
maxAmount | float | |
amount | float | |
Résultat | PartResource |
public static GetPrefab ( this part ) : Part | ||
part | this | |
Résultat | Part |
public static GetResourceCostMax ( this part ) : float | ||
part | this | |
Résultat | float |
public static GetResourceCostOffset ( this part ) : float | ||
part | this | |
Résultat | float |
public static LogError ( this part, object message ) : void | ||
part | this | |
message | object | |
Résultat | void |
public static LogInfo ( this part, object message ) : void | ||
part | this | |
message | object | |
Résultat | void |
public static LogWarning ( this part, object message ) : void | ||
part | this | |
message | object | |
Résultat | void |