Esempio n. 1
0
    void Start()
    {
        startTime = Time.time;
        wait      = Random.Range(2.0f, 10.0f);

        launcher        = GetComponentInChildren <AALauncher>();
        launchTransform = launcher.GetComponent <Transform>();
    }
Esempio n. 2
0
        void Start()
        {
            startTime = Time.time;
            wait      = Random.Range(minWaitTime, maxWaitTime);

            launcher        = GetComponentInChildren <AALauncher>();
            launchTransform = launcher.GetComponent <Transform>();

            laserAim = GetComponentInChildren <LaserAim>();
        }