Exemple #1
0
 private void Awake()
 {
     collector       = GetComponent <MultiplePowerupCollector>();
     singleCollector = GetComponent <PowerupCollector>();
     if (!collector.CollectorEnabled)
     {
         PowerupColorDisplay.Instance.gameObject.SetActive(false);
     }
     collector.PowerupCollectEvent.AddListener(OnPowerupCollect);
 }
Exemple #2
0
 private void Awake()
 {
     collector = GetComponent <PowerupCollector>();
 }