Ejemplo n.º 1
0
    private void OnEnable()
    {
        p_EarthRadiusInKM         = serializedObject.FindProperty("EarthRadiusInKM");
        p_DistanceFunction        = serializedObject.FindProperty("DistanceFunction");
        p_UseNativeLocationModule = serializedObject.FindProperty("UseNativeLocationModule");
        p_UseVuforia = serializedObject.FindProperty("UseVuforia");

        defineSymbolsManager = new DefineSymbolsManager(new BuildTargetGroup[]
        {
            BuildTargetGroup.iOS,
            BuildTargetGroup.Android
        });
    }
        private void OnEnable()
        {
            p_EarthRadiusInKM              = serializedObject.FindProperty("EarthRadiusInKM");
            p_DistanceFunction             = serializedObject.FindProperty("DistanceFunction");
            p_UseVuforia                   = serializedObject.FindProperty("UseVuforia");
            p_InitialGroundHeightGuess     = serializedObject.FindProperty("InitialGroundHeightGuess");
            p_VuforiaGroundHitTestDistance = serializedObject.FindProperty("VuforiaGroundHitTestDistance");
            p_MinGroundHeight              = serializedObject.FindProperty("MinGroundHeight");
            p_MaxGroundHeight              = serializedObject.FindProperty("MaxGroundHeight");
            p_GroundHeightSmoothingFactor  = serializedObject.FindProperty("GroundHeightSmoothingFactor");

            defineSymbolsManager = new DefineSymbolsManager(new[]
            {
                BuildTargetGroup.iOS,
                BuildTargetGroup.Android
            });
        }
        private void OnEnable()
        {
            p_EarthRadiusInKM               = serializedObject.FindProperty("EarthMeanRadiusInKM");
            p_EarthEquatorialRadius         = serializedObject.FindProperty("EarthEquatorialRadiusInKM");
            p_EarthFirstEccentricitySquared = serializedObject.FindProperty("EarthFirstEccentricitySquared");
            p_UseVuforia                   = serializedObject.FindProperty("UseVuforia");
            p_UseCustomGeoCalculator       = serializedObject.FindProperty("UseCustomGeoCalculator");
            p_InitialGroundHeightGuess     = serializedObject.FindProperty("InitialGroundHeightGuess");
            p_VuforiaGroundHitTestDistance = serializedObject.FindProperty("VuforiaGroundHitTestDistance");
            p_MinGroundHeight              = serializedObject.FindProperty("MinGroundHeight");
            p_MaxGroundHeight              = serializedObject.FindProperty("MaxGroundHeight");
            p_GroundHeightSmoothingFactor  = serializedObject.FindProperty("GroundHeightSmoothingFactor");

            defineSymbolsManager = new DefineSymbolsManager(new[]
            {
                BuildTargetGroup.iOS,
                BuildTargetGroup.Android
            });
        }