コード例 #1
0
 public static ExchangeRecipeBufferElement GetRecipe(this DynamicBuffer <ExchangeRecipeBufferElement> buffer,
                                                     FixedString32 sourceResource, FixedString32 resultResource)
 {
     return(buffer.GetRecipe(
                sourceResources: new FixedList128 <FixedString32>()
     {
         sourceResource
     },
                resultResources: new FixedList128 <FixedString32>()
     {
         resultResource
     }));
 }