private void Start() { GetComponent <LongClickFillButton>().onLongClick.AddListener(() => { rpcInvoker.InvokeRpcSubmitActionPlot( Controller.Instance.MyPlayer == Controller.Instance.Player1, PlotViewModel.Instance.ActionPlots.Select(c => c != null ? c.Id : -1).ToArray()); }); }