Example #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 = (DummySpline)target;
        }
Example #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 = (DummySpline)target;
		}
Example #3
0
 void OnDisable()
 {
     _target     = null;
     _labelStyle = null;
     _indexStyle = null;
 }
Example #4
0
		void OnDisable()
		{
			_target = null;
			_labelStyle = null;
			_indexStyle = null;
		}