void Awake() { Logger.LogInfo("In Awake for SocketAPI Plug-in"); UnityEngine.Debug.Log("SocketAPI Plug-in loaded"); ModdingUtils.Initialize(this, this.Logger, true); KnownEffects.Invalidate(); // References the KnownEffects class, which triggers its static constructor, which registers our KnownEffectsBuilder before we load any scenes. // TODO: Remove SceneManager.sceneLoaded event and the SceneManager_sceneLoaded handler when we have the explorer driver by commands. SceneManager.sceneLoaded += SceneManager_sceneLoaded; CreatureManager.OnLineOfSightUpdated += CreatureManager_OnLineOfSightUpdated; }
//private ModdingUtils mu = new ModdingUtils(); void Awake() { UnityEngine.Debug.Log("SetInjectionFlag Plug-in loaded"); ModdingUtils.Initialize(this); }