Show / Hide Table of Contents

Class ProposalDocument

A Document that displays some set of information from a Proposal, customizable through the MultiPageDocumentUI gameobject.

Inheritance
System.Object
Document
ProposalDocument
Inherited Members
Document.miniView
Document.IsDragable
Document.isActive
Document.isSubmittable
Document.isKeeping
Document.Initialize(DocMiniUI, DocFullUI)
Document.OnDrag(PointerEventData, DocumentUI)
Document.OnPointerDown(PointerEventData, DocumentUI)
Document.OnPointerUp(PointerEventData, DocumentUI)
Document.Select()
Document.Deselect()
Document.Table(Vector2)
Document.Submit()
Document.Keep()
Document.GetPosition()
Document.GetDocumentVisibility()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GDA.GameDocuments
Assembly: Assembly-CSharp.dll
Syntax
public class ProposalDocument : Document

Constructors

ProposalDocument()

Declaration
public ProposalDocument()

ProposalDocument(DocMiniUI, MultiPageDocumentUI)

Declaration
public ProposalDocument(DocMiniUI miniView, MultiPageDocumentUI multiView)
Parameters
Type Name Description
DocMiniUI miniView
MultiPageDocumentUI multiView

Properties

fullView

Declaration
protected MultiPageDocumentUI fullView { get; }
Property Value
Type Description
MultiPageDocumentUI

Methods

LoadProduct(Proposal, Boolean)

Loads the proposal to display. Internally, calls DocumentSection.LoadProposal(Proposal, Boolean) for every DocumentSection in the document.

Declaration
public void LoadProduct(Proposal proposal, bool isProductA)
Parameters
Type Name Description
Proposal proposal
System.Boolean isProductA

OnBeginDrag(PointerEventData, DocumentUI)

The actual implementation of the IBeginDragHandler interface that both miniView and fullView will call.

Declaration
public override void OnBeginDrag(PointerEventData eventData, DocumentUI docUI)
Parameters
Type Name Description
UnityEngine.EventSystems.PointerEventData eventData

PointerEventData from the BeginDrag Event.

DocumentUI docUI

The DocumentUI that is calling this method. (miniView or fullView)

Overrides
Document.OnBeginDrag(PointerEventData, DocumentUI)

OnEndDrag(PointerEventData, DocumentUI)

The actual implementation of the IEndDragHandler interface that both miniView and fullView will call.

Declaration
public override void OnEndDrag(PointerEventData eventData, DocumentUI docUI)
Parameters
Type Name Description
UnityEngine.EventSystems.PointerEventData eventData

PointerEventData from the BeginDrag Event.

DocumentUI docUI

The DocumentUI that is calling this method. (miniView or fullView)

Overrides
Document.OnEndDrag(PointerEventData, DocumentUI)

OnPointerClick(PointerEventData, DocumentUI)

The actual implementation of the IPointerClickHandler interface that both miniView and fullView will call.

Declaration
public override void OnPointerClick(PointerEventData eventData, DocumentUI docUI)
Parameters
Type Name Description
UnityEngine.EventSystems.PointerEventData eventData

PointerEventData from the BeginDrag Event.

DocumentUI docUI

The DocumentUI that is calling this method. (miniView or fullView)

Overrides
Document.OnPointerClick(PointerEventData, DocumentUI)
In This Article
Back to top Generated by DocFX