Example #1
0
    void Start()
    {
        audioPlayer = gameObject.AddComponent <RandomizedAudioPlayer>();

        enterTimes = new Dictionary <Ingredient, float>();
        added      = new List <IngredientType>();
        HUD        = GameObject.FindObjectOfType <CauldronHUDController>();
    }
Example #2
0
    void Start()
    {
        audioPlayer = gameObject.AddComponent<RandomizedAudioPlayer>();

        enterTimes = new Dictionary<Ingredient, float>();
        added = new List<IngredientType>();
        HUD = GameObject.FindObjectOfType<CauldronHUDController>();
    }
 // Use this for initialization
 void Start()
 {
     INSTANCE = this;
     player = gameObject.AddComponent<RandomizedAudioPlayer>();
 }
 void Start()
 {
     INSTANCE    = this;
     audioPlayer = gameObject.AddComponent <RandomizedAudioPlayer>();
 }