Call post install/uninstall after verification of install/uninstall has happened.
Add property to return if part is currently installed on satsuma.
Introduce EventHandling of InstalledOnCar & UninstalledFromCar
Introduce using event type enum to declare when a Behaviour should be enabled/disabled on a part.
Implement executing childs InstalledOnCar & UninstalledFromCar events when parent installs/uninstalls on car
Introduce EventHandling of BoltedOnCar & UnboltedOnCar
Introduce using GamePart for the parent of Mod Part objects
Abandon ability to use *GameObject object as the parent of a Part** object
Introduce Unified childs property for objects extending from BasicPart
Introduce easy way of blocking install of a part based on the state of a different part part.BlockOtherPartInstallOnEvent()
This is just a shortcut for having to add 2 Events using AddEventListener and doing
OnInstall => otherPart.installBlocked = true;
OnUninstall => otherPart.installBlocked = false
Reducing amount of code needed to rewrite.
Introduce using ReadOnlyCollection for childs, preventing potential modification of the childs array/list
Rework the way parts are made "installed" on the car
Until now, the parts collider was set to isTrigger = true
This could lead to other proplems when something like a Joint was used
Replaced with the same way the game does it, by removing the RigidBody component on install and adding it back on uninstall.
Introduce ability to decide if an EventAction should be invoked if the condition is already met before the event listener was added
Abandon useless CopyVector exension
Removed ALL 'Obsolete' marked code
Marked ReplacementPart classes (NewPart, OldPart, ReplacementPart) as obsolete
(without error, will be replaced in the future)
part.BlockOtherPartInstallOnEvent()