Пример #1
0
 private void Awake()
 {
     player       = FindObjectOfType <Player>();
     lineOfDeath  = FindObjectOfType <LineOfDeath>();
     platformAnim = GetComponent <Animator>();
 }
Пример #2
0
 private void Awake()
 {
     player      = FindObjectOfType <Player>();
     lineOfDeath = FindObjectOfType <LineOfDeath>();
 }