//このイベントが発生したときに呼ばれる void TorusHitEvent::Enter(const shared_ptr<ScoreObject>& Obj, const shared_ptr<Event>& event){ //ポイント加算 Obj->AddPointMotion(1); }