Disabled range check on editor socket attaching
This commit is contained in:
parent
a0d2a00a3a
commit
dc185b4f22
@ -84,7 +84,7 @@ namespace Passer.Humanoid {
|
||||
GameObject obj = Instantiate(prefab, socket.transform.position, socket.transform.rotation);
|
||||
obj.name = prefab.name; // Remove the (Clone)
|
||||
|
||||
socket.Attach(obj.transform);
|
||||
socket.Attach(obj.transform, false);
|
||||
if (socket.attachedTransform == null)
|
||||
Debug.LogWarning("Could not attach transform");
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user