how would i get the entity that the lock is attached to.
Getting entity that code lock is attached to?Solved
var item = codeLock.GetComponentInChildren<CodeLock>(); ????Merged post
Got it
var item = codeLock.parentEntity.Get(true);
Locked automatically