I have trouble using System.Func.

```
public Func<int> OnCreated=new Func<int>(int ASD){ Debug.Log (ASD); };

```

Is this the proper way to use it? I want to make a dynamic function that can be called. Also can the System.Func be serialized via XML?