Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     m_AreaGame = FindObjectOfType <AreaPlay>();
 }
Пример #2
0
 private void Awake()
 {
     m_Bounds = FindObjectOfType <AreaPlay>();
 }
 // Start is called before the first frame update
 void Start()
 {
     m_GameManag = FindObjectOfType <AreaPlay>();
 }