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

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