| | 1 | | using System.Collections; |
| | 2 | | using System.Collections.Generic; |
| | 3 | | using UnityEngine; |
| | 4 | |
|
| | 5 | | /// <summary> |
| | 6 | | /// This is the main template for the features handled by FeatureController |
| | 7 | | /// |
| | 8 | | /// This will handle all the monobehaviour callbacks when your feature is activated |
| | 9 | | /// </summary> |
| | 10 | | public abstract class PluginFeature |
| | 11 | | { |
| 0 | 12 | | public virtual void Initialize() { } |
| | 13 | | //Note: Do not use OnGUI, try to avoid it if possible since it can be called multiple times per frame |
| 3378 | 14 | | public virtual void OnGUI() { } |
| 21253 | 15 | | public virtual void Update() { } |
| 21252 | 16 | | public virtual void LateUpdate() { } |
| 0 | 17 | | public virtual void Dispose() { } |
| | 18 | |
|
| | 19 | | } |