Exemplo n.º 1
0
 void Awake()
 {
     XImage     = GameObject.Find("XImage");
     RightImage = GameObject.Find("RightImage");
     WWW        = GameObject.Find("WWW");
     WWF        = GameObject.Find("WWF");
     WWL        = GameObject.Find("WWL");
     FFF        = GameObject.Find("FFF");
     FFW        = GameObject.Find("FFW");
     FFL        = GameObject.Find("FFL");
     LLL        = GameObject.Find("LLL");
     LLW        = GameObject.Find("LLW");
     LLF        = GameObject.Find("LLF");
     WFL        = GameObject.Find("WFL");
     RightImage.SetActive(false);
     XImage.SetActive(false);
     WWW.SetActive(false);
     WWF.SetActive(false);
     WWL.SetActive(false);
     FFF.SetActive(false);
     FFW.SetActive(false);
     FFL.SetActive(false);
     LLL.SetActive(false);
     LLW.SetActive(false);
     LLF.SetActive(false);
     WFL.SetActive(false);
 }
Exemplo n.º 2
0
        protected void copy(string Prmt1, string prmt2, bool prmt3)
        {
            DirectoryInfo DrInf = new DirectoryInfo(Prmt1);

            DirectoryInfo[] DrInfLst = DrInf.GetDirectories();
            if (!Directory.Exists(prmt2))
            {
                Directory.CreateDirectory(prmt2);
            }

            FileInfo[] dosya = DrInf.GetFiles();
            string     path1 = "";

            foreach (FileInfo FFF in dosya)
            {
                path1 = Path.Combine(prmt2, FFF.Name);
                FFF.CopyTo(path1, false);
            }
            if (true)
            {
                foreach (DirectoryInfo bilgi in DrInfLst)
                {
                    path1 = Path.Combine(prmt2, bilgi.Name);
                    copy(bilgi.FullName, path1, true);
                }
            }
        }
    static void Main()
    {
        // calling protected destructor test
        try {
            using (G g = new G()) {
            }
            throw new Exception("Protected destructor exception should have been thrown");
        } catch (MethodAccessException) {
        }

        // calling private destructor test
        try {
            using (FFF f = new FFF()) {
            }
            throw new Exception("Private destructor exception should have been thrown");
        } catch (MethodAccessException) {
        }
    }
    static void Main()
    {
        // calling protected destructor test
        try {
            using (G g = new G()) {
            }
            throw new Exception("Protected destructor exception should have been thrown");
        } catch (MethodAccessException) {
        }

        // calling private destructor test
        try {
            using (FFF f = new FFF()) {
            }
            throw new Exception("Private destructor exception should have been thrown");
        } catch (MethodAccessException) {
        }
    }
Exemplo n.º 5
0
    void OnCast(string spell)
    {
        if (spell == "WWW" && !_WWW)
        {
            _WWW = true;
            WWW.SetActive(true);
        }
        else if (spell == "WWF" && !_WWF)
        {
            _WWF = true;
            WWF.SetActive(true);
        }
        else if (spell == "WWL" && !_WWL)
        {
            _WWL = true;
            WWL.SetActive(true);
        }
        else if (spell == "FFF" && !_FFF)
        {
            _FFF = true;
            FFF.SetActive(true);
        }
        else if (spell == "FFW" && !_FFW)
        {
            _FFW = true;
            FFW.SetActive(true);
        }
        else if (spell == "FFL" && !_FFL)
        {
            _FFL = true;
            FFL.SetActive(true);
        }
        else if (spell == "LLL" && !_LLL)
        {
            _LLL = true;
            LLL.SetActive(true);
        }
        else if (spell == "LLW" && !_LLW)
        {
            _LLW = true;
            LLW.SetActive(true);
        }
        else if (spell == "LLF" && !_LLF)
        {
            _LLF = true;
            LLF.SetActive(true);
        }
        else if (spell == "WFL" && !_WFL)
        {
            if (WFLCount < 1)
            {
                WFLCount++;
            }
            else
            {
                _WFL = true;
                WFL.SetActive(true);
            }
        }
        else
        {
            XImage.SetActive(true);
            Invoke("OnCastWrong", 3);
        }

        StartCoroutine(OnPassCheck());
    }
Exemplo n.º 6
0
 public ProductInput( FFF.Models.ItemSystem.Item Item )
 {
     this.Item = Item;
 }
Exemplo n.º 7
0
 public ActionResult Register(FFF.Model.User entity)
 {
     return RedirectToAction("Login", "Account");
 }