【Unity】シーン間で値を受け渡す方法

unity

シーンを跨ぐと保持している値が削除されるが、staticを付けると削除されない。

public static bool isPause;