public override void SetMeshParameters(ProceduralMesh meshCopy)
        {
            SelectionIndicatorPath copy = meshCopy as SelectionIndicatorPath;

            copy.pathArray = (proceduralMesh as SelectionIndicatorPath).pathArray;
            copy.pathArray.CalculatePath();
        }
Beispiel #2
0
 void Awake()
 {
     if (!permanentScriptableObjects)
     {
         pathArray = Instantiate(pathArray);
         selectionIndicatorPath = Instantiate(selectionIndicatorPath);
     }
 }
        public override bool Conditions()
        {
            SelectionIndicatorPath selectionIndicatorPath = proceduralMesh as SelectionIndicatorPath;

            if (selectionIndicatorPath.pathArray == null)
            {
                return(false);
            }
            return(true);
        }