Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     MedKitSpawner.INSTANCE = this;
     width  = this.transform.localScale.x;
     height = this.transform.localScale.z;
     PopulateStartMedkits();
 }
Ejemplo n.º 2
0
 void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     else
     {
         Destroy(gameObject);
     }
 }