Exemplo n.º 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;
 }
Exemplo n.º 2
0
 private void Awake()
 {
     instance = this;
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     gasBehaviour = gas.GetComponent <GasBehaviour>();
     inputField   = GetComponent <InputField>();
 }