public HollywoodMVCSContext(MonoBehaviour view) : base(view, ContextStartupFlags.MANUAL_MAPPING) { _hollywoodContextView = view.GetComponent<IHollywoodContextView>(); if (_hollywoodContextView == null) throw (new Exception("HollywoodMVCSContext constructor error, there's no IHollywoodContextView instance on context's view !!!")); Start(); }
public HollywoodMVCSContext(MonoBehaviour view) : base(view, ContextStartupFlags.MANUAL_MAPPING) { _hollywoodContextView = view.GetComponent <IHollywoodContextView>(); if (_hollywoodContextView == null) { throw (new Exception("HollywoodMVCSContext constructor error, there's no IHollywoodContextView instance on context's view !!!")); } Start(); }