Example #1
0
    public override void OnEnter()
    {
        if (flasher)
        {
            flasher.SetFlashing(setFlashing);
        }

        Finish();
    }
Example #2
0
 // Update is called once per frame
 void Update()
 {
     if (!_health || !_flasher)
     {
         return;
     }
     _flasher.SetFlashing(_health.IsInvulnerable);
 }
Example #3
0
 void BeginFlashing()
 {
     flasher?.SetFlashing(true);
 }