Entries from 2015-06-05 to 1 day

色Vector4

// 赤 SliderLife.gameObject.transform.FindChild("FillArea").GetComponentInChildren<Image>().color = new Vector4(0, 0, 1, 1); // 青 SliderLife.gameObject.transform.FindChild("FillArea").GetComponentInChildren<Image>().color = new Vector4(1, 0, 0, 1);</image></image>

GetComponent<TextMesh>().color = Color.blue

Case[Type].transform.FindChild("TimerGameOver"). gameObject.GetComponent<TextMesh>().color = Color.blue; 3D Text - How to change colour - Doesn't seem to work - Unity Answers</textmesh>

【Unity エラー】CS0052 : アクセス修飾子に関するエラー

アクセシビリティーに一貫性がないときにエラーになる。 publicなど確認する。 error CS0052: Inconsistent accessibility: field type `GameOver.Reason' is less accessible than field `GameOver.reason' urashita.com