// PRIVATE STATIC //-------------------------------------- // Methods //-------------------------------------- ///<summary> /// Use this for initialization ///</summary> void Start() { GameObject emptyGO = GameObject.Find("_EmptyGO"); _bowlingBallPrefabStateComponent = emptyGO.GetComponent <EmptyGOStateComponent>(); _bowlingBallRolling_audiosource = GetComponent <AudioSource>(); }
// PRIVATE STATIC //-------------------------------------- // Methods //-------------------------------------- ///<summary> /// Use this for initialization ///</summary> void Start() { // _bowlingBallPrefabStateComponent = GetComponent <EmptyGOStateComponent>(); 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 <EmptyGOStateComponent>(); }
// PRIVATE STATIC //-------------------------------------- // Methods //-------------------------------------- ///<summary> /// Use this for initialization ///</summary> void Start () { _bowlingBallPrefabStateComponent = GetComponent<EmptyGOStateComponent>(); }
// PRIVATE STATIC //-------------------------------------- // Methods //-------------------------------------- ///<summary> /// Use this for initialization ///</summary> void Start () { GameObject emptyGO = GameObject.Find ("_EmptyGO"); _bowlingBallPrefabStateComponent = emptyGO.GetComponent<EmptyGOStateComponent>(); _bowlingBallRolling_audiosource = GetComponent<AudioSource>(); }
// PRIVATE STATIC //-------------------------------------- // Methods //-------------------------------------- ///<summary> /// Use this for initialization ///</summary> void Start () { // _bowlingBallPrefabStateComponent = GetComponent<EmptyGOStateComponent>(); GameObject scoreGUIText_gameobject = GameObject.Find ("ScoreGUIText"); _score_guitext = scoreGUIText_gameobject.GetComponent<GUIText>(); // _bowlingPinPrefabs_gameobject = GameObject.FindGameObjectsWithTag ("BowlingPinPrefabTag"); }