protected void OnPinchMethod(Vector2 vec2, GameObject go, float delta, float gap, ContinuousGestureEventPhase phase) { object[] args = new object[5]; args.SetValue(vec2, 0); args.SetValue(go, 1); args.SetValue(delta, 2); args.SetValue(gap, 3); args.SetValue((int)phase, 4); CallMethod("OnPinch", args); }
protected void OnFirstFingerDragMethod(Vector2 vec2, GameObject go, Vector2 deltaMove, ContinuousGestureEventPhase phase) { object[] args = new object[4]; args.SetValue(vec2, 0); args.SetValue(go, 1); args.SetValue(deltaMove, 2); args.SetValue((int)phase, 3); CallMethod("OnFirstFingerDrag", args); }