Esempio n. 1
0
 public virtual void onExtinguish()
 {
     if (null != lightSource)
     {
         lightSource.Extinguish();
     }
     lightSource = null;
     GetComponent <SpriteRenderer> ().sprite = extinguishedSprite;
     LitFlammableObjects.Remove(this);
 }