Пример #1
0
 void Awake()
 {
     if (gameObject.GetComponent <ActiveStats>() != null)
     {
         activeStats = gameObject.GetComponent <ActiveStats>();
     }
 }