Fader.Awake C# (CSharp) Méthode

Awake() static private méthode

static private Awake ( ) : void
Résultat void
	void Awake(){
		if (Screen == null && GetComponent<Image>() != null) {
			Screen = gameObject.GetComponent<Image>();
		} else {
			Destroy (this);
		}
	}