Skip to main content

DestroyedHandRegenerate

A class in Root.Township, Alta.Character.

Marker added to a hand target object so the game can rebuild it if it gets destroyed. HandTargetHandler adds it and sets Destroyed.

Constructors​

MemberWhat it is
DestroyedHandRegenerate()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

MemberWhat it is
Action DestroyedCallback run when the object is destroyed outside of quitting or reloading.

Methods​

1 private and internal method
MemberWhat it is
private void OnDestroy()Calls Destroyed unless the application is quitting or reloading.