protected void init() { Operator = DialogOperationBehaviour.instance; TargetObject = null; Operator.selectObjectChanged += new DialogOperationBehaviour.selectObjectChangedHandler(this.selectObjectChanged); dialogPieceBehaviour = null; }
private void Awake() { answermenu = new List <GameObject>(); dialogPiece = new DialogPiece(); answermenu.Add(DefaultOption); if (DialogOperationBehaviour.instance != null) { Operator = DialogOperationBehaviour.instance; } }
void Start() { Operator = DialogOperationBehaviour.instance; SelectedMenuOption = DefaultOption; formarDialogPieceNode = new List <GameObject>(); }