예제 #1
0
 private void onDecorationsUnLoaded(DecorationInventoryData data)
 {
     decorationInventory.OnDecorationsChanged -= onDecorationsChanged;
     decorationInventory = null;
     cachedCalculatedDecorationInventory = null;
 }
예제 #2
0
 private void onDecorationsLoaded(DecorationInventoryData data)
 {
     decorationInventory = data;
     decorationInventory.OnDecorationsChanged += onDecorationsChanged;
     this.onInventoryLoaded.InvokeSafe(DecorationType.Decoration);
 }