コード例 #1
0
    void OnEnable()
    {
        // setup the font for the 'begin' 'end' text
        _labelStyle                  = new GUIStyle();
        _labelStyle.fontStyle        = FontStyle.Bold;
        _labelStyle.normal.textColor = Color.white;
        _labelStyle.fontSize         = 16;

        _indexStyle                  = new GUIStyle();
        _indexStyle.fontStyle        = FontStyle.Bold;
        _indexStyle.normal.textColor = Color.white;
        _indexStyle.fontSize         = 12;

        _target = (GoDummyPath)target;
    }
コード例 #2
0
	void OnEnable()
	{
		// setup the font for the 'begin' 'end' text
		_labelStyle = new GUIStyle();
		_labelStyle.fontStyle = FontStyle.Bold;
		_labelStyle.normal.textColor = Color.white;
		_labelStyle.fontSize = 16;
		
		_indexStyle = new GUIStyle();
		_indexStyle.fontStyle = FontStyle.Bold;
		_indexStyle.normal.textColor = Color.white;
		_indexStyle.fontSize = 12;
		
		_target = (GoDummyPath)target;
	}