示例#1
0
    void Start()
    {
        decrease = GameObject.Find("Decrease_Score").GetComponent<ParticleSystem>();

        cart = GameObject.Find("Cart");
        spawner = GameObject.Find("Roadblock Spawner").GetComponent<RoadblockSpawner>();
    }
示例#2
0
    void Start()
    {
        decrease = GameObject.Find("Decrease_Score").GetComponent <ParticleSystem>();

        cart    = GameObject.Find("Cart");
        spawner = GameObject.Find("Roadblock Spawner").GetComponent <RoadblockSpawner>();
    }