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