private void Awake()
        {
            if (instance_ != null)
            {
                this.LogError("Already have an instance of Trigger executor!");
                DestroyImmediate(this);
                return;
            }

            instance_ = this;

            settings_ = CyanEmuSettings.Instance;

            bufferManager_ = new CyanEmuBufferManager();

            if (settings_.replayBufferedTriggers)
            {
                CyanEmuBufferManager.LoadBufferedTriggersFromFile();
            }
        }
Example #2
0
        private void Awake()
        {
            if (instance_ != null)
            {
                this.LogError("Already have an instance of Trigger executor!");
                DestroyImmediate(this);
                return;
            }

            instance_ = this;

            settings_   = CyanEmuSettings.Instance;
            descriptor_ = FindObjectOfType <VRC_SceneDescriptor>();

            bufferManager_ = new CyanEmuBufferManager();

            if (settings_.replayBufferedTriggers)
            {
                CyanEmuBufferManager.LoadBufferedTriggersFromFile();
            }

            SetupCombat();
        }
Example #3
0
 public CyanEmuBufferManager()
 {
     instance   = this;
     eventList_ = new LinkedList <VRC_EventHandler.EventInfo>();
 }