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