Пример #1
0
    private void Awake()
    {
        bulletLiner    = GetComponent <BulletLinearMovement>();
        bulletRotation = GetComponent <BulletRotation>();

        target = GameObject.FindGameObjectWithTag("Player");
    }
 private void Start()
 {
     target         = GameObject.FindGameObjectWithTag("Player");
     bulletRotation = GetComponent <BulletRotation>();
 }