Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     w             = player.GetComponent <Warmth>();
     pl            = transform.GetChild(0).GetComponent <Light>();
     maxLightRange = pl.range;
     hp            = maxVisibleWood * transferRate;
 }