コード例 #1
0
 private void Awake()
 {
     _rotationCounter = GetComponent <RotationCounter>();
     _safeMechanism   = GetComponent <SafeMechanism>();
     _audioSource     = GetComponent <AudioSource>();
 }
コード例 #2
0
 private void Start()
 {
     CurrentCylinderIndex = _cylinders.Length;
     _rotationCounter     = GetComponent <RotationCounter>();
 }