This component lets you parent the transform you put it on to any target parent (or to the root if none is set), on Awake, Start or anytime you call its Parent() method.
More...
|
| virtual void | Parent () |
| | Sets this transform's parent to the target.
|
|
| virtual void | Awake () |
| | On Awake we parent if needed.
|
| virtual void | Start () |
| | On Start we parent if needed.
|
This component lets you parent the transform you put it on to any target parent (or to the root if none is set), on Awake, Start or anytime you call its Parent() method.
◆ Modes
the possible modes this can run on
| Enumerator |
|---|
| Awake | |
| Start | |
| Script | |
◆ Awake()
| virtual void MoreMountains.Tools.MMParentingOnStart.Awake |
( |
| ) |
|
|
protectedvirtual |
On Awake we parent if needed.
◆ Parent()
| virtual void MoreMountains.Tools.MMParentingOnStart.Parent |
( |
| ) |
|
|
virtual |
Sets this transform's parent to the target.
◆ Start()
| virtual void MoreMountains.Tools.MMParentingOnStart.Start |
( |
| ) |
|
|
protectedvirtual |
On Start we parent if needed.
◆ Mode
◆ TargetParent
| Transform MoreMountains.Tools.MMParentingOnStart.TargetParent |
the parent to parent to, leave empty if you want to unparent completely
The documentation for this class was generated from the following file: