"大掃除"}; //答えの日本語 // Use this for initialization void Start () { m_mainStep = Step.STEP_INIT; m_result = Result.RESULT_NONE; m_progress = 0; julius = GameObject.Find("Julius_client").GetComponent<Julius_Client>(); m_timer = 0.0f; m_particleOK.Stop(); m_particleNG.Stop(); }
// Initialization, fetching JuliusServer and Button Components void Awake() { juliusClient = GameObject.FindGameObjectWithTag ("Julius"); juliusClientScript = juliusClient.GetComponent<Julius_Client>(); if(juliusClient != null){ Debug.Log ("JuliusClientFound"); } if(juliusClientScript != null) Debug.Log("JuliusScriptFetched" ); button = gameObject.GetComponent<Button>(); buttonText = gameObject.GetComponentInChildren<Text>(); if(button != null && buttonText != null) Debug.Log ("Button Components Fetched"); }
// Use this for initialization void Start () { text.text = "Hello World!"; julius_client = gameObject.GetComponent<Julius_Client>(); }