RuntimeInitializeOnLoadMethodAttribute - Unity スクリプトリファレンス
Allow a runtime class method to be initialized when a game is loaded at runtime without action from the user.