Пример #1
0
 void Start()
 {
     camRipple   = Camera.main.GetComponent <RipplePostProcessor>();
     bloodSplash = FindObjectOfType <BloodSplashRandom>();
     spawner     = FindObjectOfType <EnemySpawner>();
 }
Пример #2
0
 void Awake()
 {
     bloodSplash = FindObjectOfType <BloodSplashRandom>();
 }