void Start() { tempDiaNoite = Sol.GetComponent <DiaNoite>(); FadeAnimacao = FadeImage.GetComponent <Animator>(); MeshObj = this.GetComponent <MeshRenderer>(); BoxObj = this.GetComponent <BoxCollider>(); }
private void Awake( ) { d = this; }
void Start() { tempDiaNoite = Sol.GetComponent <DiaNoite>(); FadeAnimacao = FadeImage.GetComponent <Animator>(); MeshObj = this.GetComponent <MeshRenderer>(); BoxObj = this.GetComponent <BoxCollider>(); }
private void Awake( ) { d = this; }