// 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"); }
//-------------------------------------- // Methods //-------------------------------------- ///<summary> /// Use this for initialization ///</summary> void Start () { _bowlingBallPrefabStateComponent = GetComponent<BowlingBallPrefabStateComponent>(); }