-
Notifications
You must be signed in to change notification settings - Fork 16
PartManager
Tommo J. Phillips edited this page Oct 22, 2023
·
2 revisions
Namespace: TommoJProductions.ModApi.Attachable
Represents the Parts Manager. Handles Part AutoSave, Drop, Throw and Pick up Logic.
public class PartManagerInheritance Object → PartManager
All parts that were set in . Reps all Part children in root PartManager.pickedPart.
public Part[] inherentlyPickedParts { get; }The root picked part. the part that the player is currently holding.
public Part pickedPart { get; }The picked object. the object that the player is currently holding.
public GameObject pickedObject { get; }GameObject
The Cardboard Box prefab.
public GameObject cardboardBoxPrefab { get; }GameObject
The Folding Cardboard Box prefab.
public GameObject foldingBoxPrefab { get; }GameObject
The Wooden Crate prefab.
public GameObject cratePrefab { get; }GameObject
The Matrix UI prefab.
public GameObject matrixUIPrefab { get; }GameObject
Represents if part assets have been loaded.
public bool assetsLoaded { get; }public PartManager()internal void load(AssetBundle assetBundle)assetBundle AssetBundle