void Start() { clockbase.enabled = false; clock.enabled = false; text.enabled = false; torchStates = torch.GetComponent <TorchStates>(); rb = torch.GetComponent <Rigidbody>(); }
private void Start() { torchState = this.GetComponent <TorchStates>(); rb = this.GetComponent <Rigidbody>(); }
private void Start() { torchStates = GetComponent <TorchStates>(); rigid = GetComponent <Rigidbody>(); }