public void Start() { // this.name = item.name + " pickup"; anim = GetComponent <Animator>(); itemGet = UI_Item_Get.instance; wait = Time.time + wait; }
public void Awake() { instance = this; }