コード例 #1
0
 void Start()
 {
     clockbase.enabled = false;
     clock.enabled     = false;
     text.enabled      = false;
     torchStates       = torch.GetComponent <TorchStates>();
     rb = torch.GetComponent <Rigidbody>();
 }
コード例 #2
0
 private void Start()
 {
     torchState = this.GetComponent <TorchStates>();
     rb         = this.GetComponent <Rigidbody>();
 }
コード例 #3
0
 private void Start()
 {
     torchStates = GetComponent <TorchStates>();
     rigid       = GetComponent <Rigidbody>();
 }