private void Awake()
 {
     woodStates = GetComponent <WoodStates>();
     rigid      = GetComponent <Rigidbody>();
     timer      = REPAIR_TIMER;
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Awake()
 {
     woodStates = this.GetComponent <WoodStates>();
     rb         = this.GetComponent <Rigidbody>();
 }