コード例 #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;
     }
 }
コード例 #2
0
 private void OnEnable()
 {
     m_VisibilityInfo = GetComponent <LOS.LOSVisibilityInfo>();
 }