示例#1
0
    private void CreatePlugGoal()
    {
        var goalPlug = new PlugEnds();

        print("Okay, now connect " + goalPlug.first.CoordString() + " to " + goalPlug.second.CoordString());
        GameObject  newCallPanel = Instantiate(callPanelPrefab, commandPanel.transform);
        CallRequest call         = newCallPanel.GetComponent <CallRequest>();

        call.StartRequest(goalPlug, colSyms, rowSyms, 20f);

        requestEnds.Add(call);
    }