示例#1
0
 void GiveDamage(Enermy gameObject, int push)
 {
     Vector3 forceDir = gameObject.transform.position - transform.position;
     gameObject.ApplyDamage( forceDir.normalized * 10, defaultDMG);
     Debug.Log ("Player is Sending DMG : " + defaultDMG.ToString ());
 }