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