Exemplo n.º 1
0
    private void CheckLayer_T_Option(LayerTransformationOptions newOption)
    {
        if (LayerTransformationOption != newOption)
        {
            LayerTransformationOption = newOption;

            DestroyLayers();
        }
    }
Exemplo n.º 2
0
    void OnEnable()
    {
        lm = (LayersManager)target;

        layersNumber             = lm.layers.Count;
        layerIndex_init          = lm.layerIndex_init;
        layerTranformationOption = (LayerTransformationOptions)lm.layerTranformationOption;
        y_Offset = lm.Y_Offset;
        z_Offset = lm.Z_Offset;
        cylinderIntervalDegree = lm.CylinderIntervalDegree;
        cylinderRadius         = lm.CylinderRadius;
        switchSpeed            = lm.switchSpeed;
        useFakePespective      = lm.useFakePespective;

        Debug.Log("op: " + layerTranformationOption);
    }