Base class for pulse Monobehaviour components,
Inheritance: UnityEngine.MonoBehaviour, IGATPulseSender
Exemplo n.º 1
0
 /// <summary>
 /// Call base.Awake() first if you override
 /// </summary>
 protected virtual void Awake()
 {
     if (_pulse == null)
     {
         _pulse = gameObject.GetComponent <PulseModule>();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Call base.Awake() first if you override 
 /// </summary>
 protected virtual void Awake()
 {
     if( _pulse == null )
     {
         _pulse = gameObject.GetComponent<PulseModule>();
     }
 }
Exemplo n.º 3
0
 protected virtual void OnEnable()
 {
     _basePulse = target as PulseModule;
     _numSteps  = _basePulse.Steps.Length;
 }