Exemplo n.º 1
0
 void OnDoubleClick()
 {
     if (target != null && trigger == Trigger.OnDoubleClick)
     {
         target.onDoubleClick4Lua(gameObject, functionName);
     }
     if (target2 != null && trigger == Trigger.OnDoubleClick)
     {
         target2.onDoubleClick4Lua(gameObject, functionName);
     }
 }