1using System.Collections;
2using System.Collections.Generic;
11 private float lastDropEvent = -5f;
14 if (lastDropEvent + 1 > Time.time)
19 lastDropEvent = Time.time;
23 if (GetComponent<GameObjectPreview>().enabled)
25 GetComponent<GameObjectPreview>().ReInitialize();
27 GetComponent<GameObjectPreview>().enabled =
true;
28 desc.permission =
false;
Every item's cell must contain this script