void Update()
{
transform.position+=Vector3.left*Mathf.sin(Time.time);
}
click+=(s,e)=>HandleClick(typeof(s));
void HandleClick(Type SenderClass) {
//...
void HandleClick(object sender) {
if(sender is mySperClass) {
//...
MainWindow owner;
public Querys(MainWindow owner) {
this.owner = owner;
//...
}