//------------------------------------------------------------------------/ // Methods //------------------------------------------------------------------------/ void Awake() { if (Hidden) { //Trace.Script("Hiding", this); Graphical.Fade(this, 0.0f, 0.0f); } }
public void Hide(float duration) { Graphical.Fade(this, 0.0f, duration); }
public void Show(float duration) { //Trace.Script("Now showing", this); Graphical.Fade(this, 1.0f, 0.0f); }