예제 #1
0
    private void SubmitWord(string arg0)
    {
        GameObject      go    = GameObject.Find("SpawnController");
        SpawnController other = (SpawnController)go.GetComponent(typeof(SpawnController));

        other.AttemptedKill(arg0);
        var input = gameObject.GetComponent <InputField>();

        input.text = "";
        input.ActivateInputField();
    }