Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

UniRx.Obsolete

neuecc edited this page Sep 4, 2016 · 1 revision

IPresenter

[Obsolete]Infrastructure interface for PresenterBase`T

public interface UniRx.Obsolete.IPresenter

Properties

Type Name Summary
GameObject gameObject
IPresenter Parent

Methods

Type Name Summary
void Awake()
void ForceInitialize(Object argument)
void InitializeCore()
void RegisterParent(IPresenter parent)
void StartCapturePhase()

PresenterBase

[Obsolete]PresenterBase can control dependency of presenter's hierarchy.

public abstract class UniRx.Obsolete.PresenterBase
    : PresenterBase<Unit>, IPresenter

Methods

Type Name Summary
void BeforeInitialize(Unit argument) Same as Start but called before children initialized, it's chance for propagate argument to children.
void BeforeInitialize() Same as Start but called before children initialized, it's chance for propagate argument to children.
void ForceInitialize() Force Start BeforeInitialize/Initialize. If you create presenter dynamically, maybe useful.
void Initialize(Unit argument) Same as Start but called after all children are initialized.
void Initialize() Same as Start but called after all children are initialized.

PresenterBase<T>

[Obsolete]PresenterBase can control dependency of presenter's hierarchy.

public abstract class UniRx.Obsolete.PresenterBase<T>
    : MonoBehaviour, IPresenter

Properties

Type Name Summary
IPresenter[] Children Dependency on hierarchy of this presenter. If Children is empty, you can return this.EmptyChildren.
IPresenter Parent

Methods

Type Name Summary
void Awake() Infrastructure method called by UnityEngine. If you needs override Awake, override OnAwake.
void BeforeInitialize(T argument) Same as Start but called before children initialized, it's chance for propagate argument to children.
void ForceInitialize(T argument) Force Start BeforeInitialize/Initialize. If you create presenter dynamically, maybe useful.
void Initialize(T argument) Same as Start but called after all children are initialized.
IObservable<Unit> InitializeAsObservable() Observable sequence called after initialize completed.
void OnAwake() An alternative of Awake.
void PropagateArgument(T argument) Propagate(Set) argument.
void Start() Infrastructure method called by UnityEngine. don't call directly, don't override, don't hide!

Static Fields

Type Name Summary
IPresenter[] EmptyChildren