Exemple #1
0
    // Use this for initialization
    void Start()
    {
        mediumDifficultyDelay = 100;
        hardDifficultyDelay   = mediumDifficultyDelay + 240;

        currentDifficulty = Difficulty.Easy;

        m_randomEvent = GameObject.FindObjectOfType <RandomEventTrigger>();
    }
 void Start()
 {
     effects    = GameObject.FindObjectOfType <EffectsManager>();
     endPoint   = new Vector3(50, 10, 0);
     startPoint = transform.position;
     random     = FindObjectOfType <RandomEventTrigger>();
     index      = 0;
     waited     = false;
     invoked    = false;
 }