public void YeniNokta(Vector3 poz, bool yeniAlan)
        {
            if (transform.childCount == 0 || yeniAlan)
            {
                YeniAlan(poz);
                AlanSec(transform.childCount - 1);
                oncekiAltNesneSayisi = transform.childCount;
            }
            HeyArea seciliAlan = transform.GetChild(seciliAlan_id).GetComponent <HeyArea>();

            Transform yeniNokta = GameObject.Instantiate(pointSphere).transform;

            yeniNokta.parent   = transform.GetChild(seciliAlan_id);
            yeniNokta.name     = "Point_" + seciliAlan.transform.childCount;
            yeniNokta.position = poz;
            Renderer notka_R = yeniNokta.GetComponent <Renderer>();

            notka_R.material          = pointMat;
            notka_R.shadowCastingMode = UnityEngine.Rendering.ShadowCastingMode.Off;
            DestroyImmediate(yeniNokta.GetComponent <Collider>());

            seciliAlan.NoktalariBoyutlandir(pointSize);

            Undo.RegisterCreatedObjectUndo(yeniNokta.gameObject, "Create Object");
        }
        public void YeniAlan(Vector3 poz)
        {
            Transform yeniAlan = new GameObject("Area_" + transform.childCount).transform;

            yeniAlan.position = poz;
            yeniAlan.parent   = transform;
            HeyArea yeniAlan_bilesen = yeniAlan.gameObject.AddComponent <HeyArea>();

            Undo.RegisterCreatedObjectUndo(yeniAlan.gameObject, "Create Object");
        }