Esempio n. 1
0
 private void Start()
 {
     m_VisibilityInfo = GetComponent <LOSVisibilityInfo>();
     // Disable LOSCuller script and use Visibilty Info instead if both are present
     if (m_VisibilityInfo != null && m_VisibilityInfo.isActiveAndEnabled)
     {
         m_Culler.enabled = false;
     }
 }
Esempio n. 2
0
 private void OnEnable()
 {
     m_VisibilityInfo = GetComponent <LOS.LOSVisibilityInfo>();
 }