// Use this for initialization

    void Start()
    {
        Aim    = GameObject.Find("Aim") as GameObject;
        camera = GameObject.Find("Main Camera").camera;

        GameObject trackerManObj = GameObject.Find("SceneScriptBinder");

        trackMan = trackerManObj.GetComponent <TrackDataManager> ();

        trackMan.startNewSequence();
        _isdead = false;
    }
Esempio n. 2
0
 // Use this for initialization
 void Awake()
 {
     //GameObject.Find("ScriptBinder").GetComponent<>;
     sceneTrackData = new TrackDataManager();
 }