//攻撃可能物体を座標に飛ばす public void attack(Vector3 vec) { if (first != null) { first.attack(vec, power); } }
public virtual void attack(Vector3 t_pos, float power) { unroop(); if (next != null) { next.attack(t_pos, power); } }