public override void ReplOnSpawned() { RelevanceSystem s_Instance = RelevanceSystem.s_Instance; if (s_Instance == null) { return; } s_Instance.RegisterComponent(this); }
private void OnDestroy() { RelevanceSystem s_Instance = RelevanceSystem.s_Instance; if (s_Instance == null) { return; } s_Instance.UnregisterComponent(this); }
private void Start() { RelevanceSystem s_Instance = RelevanceSystem.s_Instance; if (s_Instance == null) { return; } s_Instance.RegisterComponent(this); }