Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     gasBehaviour            = gas.GetComponent <GasBehaviour>();
     gasParticleSystem       = gas.GetComponent <ParticleSystem>();
     inputField              = GetComponent <InputField>();
     valorInicial            = gasBehaviour.volumen;
     escalaInicialContenedor = contenedor.transform.localScale;
 }
Beispiel #2
0
 private void Awake()
 {
     instance = this;
 }
Beispiel #3
0
 // Use this for initialization
 void Start()
 {
     gasBehaviour = gas.GetComponent <GasBehaviour>();
     inputField   = GetComponent <InputField>();
 }