Table of Contents

Enum LocatableAttribute.InstaniatePrefabHierachyPosition

The position of the prefab to instantiate.

[Flags]
public enum LocatableAttribute.InstaniatePrefabHierachyPosition : byte
Extension Methods

Fields

After = SameLevel | NextSibling

Just after the attached game object.

Before = SameLevel | PreviousSibling

Just before the attached game object.

Child = 1

As a child of the attached game object.

First = 16

As the first of the designated level.

FirstChild = Child | First

As the first child of the attached game object.

FirstRoot = 16

As the first child of the root.

FirstSameLevel = SameLevel | First

As the first child of the same level.

Last = 32

As the last of the designated level.

LastChild = Child | Last

As the last child of the attached game object.

LastRoot = 32

As the last child of the root.

LastSameLevel = SameLevel | Last

As the last child of the same level.

NextSibling = 8

As the next sibling.

PreviousSibling = 4

As the previous sibling.

Root = 0

At the root of the hierarchy.

SameLevel = 2

At the same level of the attached game object.