Interactable With Parent Prefab ConstructorΒΆ

Inherits from Interactable Prefab Constructor. It works exactly the same as the script it inherits.

The only difference is that this script should be attached to an interactable gameobject that is a child of another gameobject.

Note

Interactable prefabs are meant to be by themselves one whole object without having a parent.

It is not advised to use often this script and to have a lot interactable that are children to another gameobjects.