Пример #1
0
        NativeHandler()
        {
            m_isAgx = new InitShutdownAGXDynamics();

            // The environment probably hasn't been completely configured
            // when inside the editor so it's up to Manager to call
            // ValidateLicense post environment configuration.
            if (!Application.isEditor)
            {
                ValidateLicense();
            }
        }
Пример #2
0
        NativeHandler()
        {
            HasValidLicense = false;
            m_isAgx         = new InitShutdownAGXDynamics();

            if (m_isAgx.Initialized && !agx.Runtime.instance().isValid())
            {
                Debug.LogError("AGX Dynamics: " + agx.Runtime.instance().getStatus());
            }
            else if (m_isAgx.Initialized)
            {
                HasValidLicense = true;
            }
        }
Пример #3
0
 NativeHandler()
 {
     m_isAgx         = new InitShutdownAGXDynamics();
     HasValidLicense = m_isAgx.Initialized && agx.Runtime.instance().isValid();
 }