Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        fOldStrength = fExplosionStrength;

        ScoreObj = GameObject.FindGameObjectWithTag("SCORESYSTEM");
        sys      = ScoreObj.GetComponent <Scoresystem> () as Scoresystem;
    }
Exemplo n.º 2
0
    // Use this for initialization
    void Start()
    {
        fOldStrength = fExplosionStrength;

        ScoreObj = GameObject.FindGameObjectWithTag ("SCORESYSTEM");
        sys = ScoreObj.GetComponent<Scoresystem> () as Scoresystem;
    }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     Spinner_ob = transform.GetChild(0).gameObject;
     force      = Spinner_ob.GetComponent <ConstantForce> () as ConstantForce;
     rig        = Spinner_ob.GetComponent <Rigidbody> () as Rigidbody;
     ScoreObj   = GameObject.FindGameObjectWithTag("SCORESYSTEM");
     sys        = ScoreObj.GetComponent <Scoresystem> () as Scoresystem;
 }
Exemplo n.º 4
0
 // Use this for initialization
 void Start()
 {
     Spinner_ob = transform.GetChild (0).gameObject;
     force = Spinner_ob.GetComponent<ConstantForce> () as ConstantForce;
     rig = Spinner_ob.GetComponent<Rigidbody> () as Rigidbody;
     ScoreObj = GameObject.FindGameObjectWithTag ("SCORESYSTEM");
     sys = ScoreObj.GetComponent<Scoresystem> () as Scoresystem;
 }
Exemplo n.º 5
0
    public Scoresystem sys;                // The Scoresystem attached to the ScoreSystem Game Object

    // Use this for initialization
    void Start()
    {
        // Get the Scoresystem attached to the ScoreSystem Game Object
        sys = ScoreSystem.GetComponent <Scoresystem> () as Scoresystem;
    }
Exemplo n.º 6
0
 // Use this for initialization
 void Start()
 {
     ScoreObj = GameObject.FindGameObjectWithTag("SCORESYSTEM");
     sys      = ScoreObj.GetComponent <Scoresystem> () as Scoresystem;
     control  = LightObject.GetComponent <LightController> () as LightController;
 }
Exemplo n.º 7
0
 // Use this for initialization
 void Start()
 {
     // Get the Scoresystem attached to the ScoreSystem Game Object
     sys = ScoreSystem.GetComponent<Scoresystem> () as Scoresystem;
 }
Exemplo n.º 8
0
 // Use this for initialization
 void Start()
 {
     ScoreObj = GameObject.FindGameObjectWithTag ("SCORESYSTEM");
     sys = ScoreObj.GetComponent<Scoresystem> () as Scoresystem;
     control = LightObject.GetComponent<LightController> () as LightController;
 }