Class SubLevelComponent
Child object's components may inherit this to get access to the parent object
Inherited Members
Component.GetComponentInChildren<T>()
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DestroyObject(Object)
Namespace: LobsterFramework
Assembly: LobsterFramework.dll
Syntax
public class SubLevelComponent : MonoBehaviour
Properties
| Improve this Doc View SourceTopLevelTransform
Declaration
public Transform TopLevelTransform { get; }
Property Value
Type | Description |
---|---|
Transform |
Methods
| Improve this Doc View SourceGetComponentInBoth<T>()
Declaration
public T GetComponentInBoth<T>() where T : Component
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
GetTopLevelComponent<T>()
Declaration
public T GetTopLevelComponent<T>() where T : Component
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |