CloseItemContainerCommand.cs 454 B

123456789101112131415161718192021222324
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using KairoEngine.Core;
  5. namespace KairoEngine.Inventory
  6. {
  7. public class CloseItemContainerCommand : ICommand
  8. {
  9. string title;
  10. float speed;
  11. public CloseItemContainerCommand(string title)
  12. {
  13. this.title = title;
  14. }
  15. public void Execute()
  16. {
  17. ItemContainerEvents.Close(title);
  18. }
  19. }
  20. }