Getting entity that code lock is attached to?Solved
how would i get the entity that the lock is attached to.
var item = codeLock.GetComponentInChildren<CodeLock>();     ????


Merged post

Got it
var item = codeLock.parentEntity.Get(true);
Locked automatically