Beispiel #1
0
    void Load(Reactor asset)
    {
        Reactor.s_breakePoints.Clear();
        if( reactor != null )
        {
            reactor.isInDebug = false;
        }

        reactor = asset;
        if (reactor != null) {
            if(EditorApplication.isPlaying) {
                reactor.isInDebug = true;
                root = reactor.GetRoot();
            }
        }
    }