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