This repository was archived by the owner on Aug 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
EnemyHook.cs
Erik edited this page Apr 26, 2019
·
3 revisions
Script: EnemyHook.cs
- Awake() - This method is public specifically so that a custom editor can invoke it during edit mode. No other special reason.
- Hook() - Initializes any components configured and attached to the same GameObject or its children.
- None
- enemyTemplate - ScriptableObject template for the Enemy's base values.
If a component is not attached, it is skipped. This removes component dependency (if the component is not attached to the GameObject, it is simply ignored), but does not remove the dependency on the script existing in any project that implements this.
Script Documentation
General Scripts
Generic Character Scripts
Enemy Scripts
Player Scripts
Erik's ongoing laundry list of TODOs that he doesn't want to create issues for