void OnTriggerEnter(Collider c) { if (!Lance.GetIsMoving() && (c.tag == "Player" || c.tag == "Enemy")) { Lance.Use(); } }