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

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