//視覚検知 void OnTriggerEnter2D(Collider2D other) { if (parentUnit != null) { parentUnit.SsDiscover(other); } }