示例#1
0
 void bookTrigger(Collider other)
 {
     if (other.gameObject.CompareTag(BookTrigger) && holding && attachedObject.tag.Contains(Key1_TAG))
     {
         log("books opens");
         memoriesScript.createMemory(7, true, true);
         holding = false;
         Object.Destroy(attachedObject.gameObject);
     }
 }