public virtual void Configure() { transition = Dependancy.Get <UITransition>(gameObject, Dependancy.Scope.RecursiveToParents); if (transition == null) { throw new NullReferenceException("Cannot find UI Transition for module: " + name + " to use"); } }
public virtual void Configure() { Transition = GetComponent <UITransition>(); }