Beispiel #1
0
 public virtual void Initialize(eTouchEventType touchEventType, Vector3 screenPosition, Vector3 position)
 {
     Initialize(touchEventType, screenPosition);
     this.target         = null;
     this.position       = position;
     this.groundPosition = position;
 }
Beispiel #2
0
 public virtual void Initialize(eTouchEventType touchEventType, Vector3 screenPosition, Transform target, Vector3 groundPosition)
 {
     Initialize(touchEventType, screenPosition);
     this.target = target;
     if (target != null)
     {
         this.position = target.position;
     }
     this.groundPosition = groundPosition;
 }
Beispiel #3
0
 public virtual void Initialize(eTouchEventType touchEventType, Vector3 screenPosition)
 {
     this.touchEventType = touchEventType;
     this.screenPosition = screenPosition;
 }