Beispiel #1
0
        // PRIVATE STATIC

        //--------------------------------------
        //  Methods
        //--------------------------------------
        ///<summary>
        ///	Use this for initialization
        ///</summary>
        void Start()
        {
            //
            _bowlingBallPrefabStateComponent = GetComponent <BowlingBallPrefabStateComponent>();
            GameObject scoreGUIText_gameobject = GameObject.Find("ScoreGUIText");

            _score_guitext = scoreGUIText_gameobject.GetComponent <GUIText>();

            //
            _bowlingPinPrefabs_gameobject = GameObject.FindGameObjectsWithTag("BowlingPinPrefabTag");
        }
Beispiel #2
0
 //--------------------------------------
 //  Methods
 //--------------------------------------
 ///<summary>
 ///	Use this for initialization
 ///</summary>
 void Start()
 {
     _bowlingBallPrefabStateComponent = GetComponent <BowlingBallPrefabStateComponent>();
 }
		// PRIVATE STATIC
		
		//--------------------------------------
		//  Methods
		//--------------------------------------		
		///<summary>
		///	Use this for initialization
		///</summary>
		void Start () 
		{
			_bowlingBallPrefabStateComponent = GetComponent<BowlingBallPrefabStateComponent>();
		}
        // PRIVATE STATIC

        //--------------------------------------
        //  Methods
        //--------------------------------------
        ///<summary>
        ///	Use this for initialization
        ///</summary>
        void Start()
        {
            _bowlingBallPrefabStateComponent = GetComponent <BowlingBallPrefabStateComponent>();

            _bowlingBallRolling_audiosource = GetComponent <AudioSource>();
        }
		// PRIVATE STATIC
		
		//--------------------------------------
		//  Methods
		//--------------------------------------		
		///<summary>
		///	Use this for initialization
		///</summary>
		void Start () 
		{
			//
			_bowlingBallPrefabStateComponent 	= GetComponent<BowlingBallPrefabStateComponent>();
			GameObject scoreGUIText_gameobject	= GameObject.Find ("ScoreGUIText");
			_score_guitext = scoreGUIText_gameobject.GetComponent<GUIText>();
			
			//
			_bowlingPinPrefabs_gameobject = GameObject.FindGameObjectsWithTag ("BowlingPinPrefabTag");
			
		}
		// PRIVATE STATIC
		
		//--------------------------------------
		//  Methods
		//--------------------------------------		
		///<summary>
		///	Use this for initialization
		///</summary>
		void Start () 
		{
			_bowlingBallPrefabStateComponent = GetComponent<BowlingBallPrefabStateComponent>();
			
			_bowlingBallRolling_audiosource = GetComponent<AudioSource>();
			
			
			
		}