示例#1
0
 public virtual void Shoot(int playerIdx = 0)
 {
     playerNumber = playerIdx;
     storedDamage = ReferenceSkill.BaseDamage +
                    GameHandler.Instance.FetchCharStat(playerNumber, ReferenceSkill.GetStatIdx())
                    * ReferenceSkill.ScaleValue;
     GetComponent <Rigidbody2D>().AddForce(transform.up * ProjectileVelocity);
 }