Inheritance: BaseMeshEffect
Beispiel #1
0
		void Start ()
		{
			_text = GetComponent<Text>();
			_textColour = _text.color;

			_shadow = GetComponent<Shadow>();
			_shadColour = _shadow.effectColor;
		}
Beispiel #2
0
		public override void OnEnter ()
		{
			component = gameObject.Value.GetComponent<Shadow>();
			if (component == null) {
				component = gameObject.Value.AddComponent<Shadow>();
			}
			DoSetShadow ();
			if (!everyFrame) {
				Finish ();
			}
		}
Beispiel #3
0
		// Use this for initialization
		void Start ()
		{
			if (shadow == null)
				shadow = GetComponent<Shadow> ();
		}