예제 #1
0
            public void SetResponse(NPCChatResponseBase response, int index)
            {
                if (response == null)
                {
                    Debug.Fail("Parameter 'response' should never be null. Use UnsetResponse() instead.");
                    UnsetResponse();
                    return;
                }

                _response = response;
                Text      = (index + 1) + ": " + Response.Text;
            }
예제 #2
0
 public void UnsetResponse()
 {
     _response = null;
     Text      = string.Empty;
 }