InitializeOnEnterPlayModeAttribute - Unity スクリプトリファレンス

Allow an editor class method to be initialized when Unity enters Play Mode.