// Use this for initialization
    void Start()
    {
        meth m  = new meth(FunctionInCard);
        meth m2 = new meth(OtherFunctionInCard);

        //IN CARD
        Action <string> onPlayed;

        //

        //	m("hello");
        //	print(STRING);
        //	m2("no");
        //	print(STRING);


        //IN INITIALIZATION
        //card.onPlayed
        onPlayed = s => { string ss = s + " that is " + s; FunctionInCard(ss); print(ss); };
        onPlayed("");
        //print(STRING);
    }
Example #2
0
 ConvertMethodHeader(meth);