Пример #1
0
 private void Awake()
 {
     cannonballStates = GetComponent <CannonballStates>();
     rigid            = GetComponent <Rigidbody>();
 }
 private void Awake()
 {
     cannonballState = this.GetComponent <CannonballStates>();
     rb = this.GetComponent <Rigidbody>();
 }