예제 #1
0
    public void clearAllBarriers()
    {
        BarrierContainer bcScript = barrierContainer.GetComponent <BarrierContainer>();

        bcScript.clearAllBarriers();
    }
예제 #2
0
 public void initialize()
 {
     barrierSphereScript    = barrierToInstantiate.GetComponent <BarrierSphere>();
     barrierContainerScript = barrierContainer.GetComponent <BarrierContainer>();
     updateGridSize();
 }