// PRIVATE STATIC
		
		//--------------------------------------
		//  Methods
		//--------------------------------------	
		
		///<summary>
		///	Use this for initialization
		///</summary>
		public void Start () 
		{
			
			animation 						= GetComponentInChildren<Animation>();
			animationMonitor 				= GetComponentInChildren<AnimationMonitor>();
			_yPosition_lerptarget 			= new LerpTarget (0, 0, -5, 5, 0.5f);

			
		}
예제 #2
0
		///<summary>
		///	Use this for initialization
		///</summary>
		override protected void Start () 
		{
			
			base.Start();
			animation 			= GetComponentInChildren<Animation>();
			animationMonitor 	= GetComponentInChildren<AnimationMonitor>();
			_particleSystem 	= GetComponentInChildren<ParticleSystem>();
			
			
		}
예제 #3
0
		///<summary>
		///	Use this for initialization
		///</summary>
		override protected void Start () 
		{
			
			base.Start();


			//
			_clickGUIText 	= clickGUIText_gameobject.GetComponent<GUIText>();
			_logo_guitexture = logoGUITexture_gameobjects.GetComponent<GUITexture>();
			animationMonitor = GetComponent<AnimationMonitor>();

			//EXPERIMENT: STORE CLIPS IN CUSTOM PROPERTIES AND ADD THEM DYNAMICALLY
			//	NOT REQUIRED FOR THE CURRENT SETUP, BUT COULD BE USEFUL FOR DYNAMIC
			//	ANIMATION SETUP
			animation.AddClip (introStartAnimationClip, ANIMATION_NAME_INTRO_UI_START);
			animation.AddClip (introEndAnimationClip, ANIMATION_NAME_INTRO_UI_END);
			
			
			
		}