示例#1
0
 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>();
 }
示例#3
0
 private void Start()
 {
     torchStates = GetComponent <TorchStates>();
     rigid       = GetComponent <Rigidbody>();
 }