Exemple #1
0
    void PlantSeed()
    {
        Ray        ray = Camera.main.ScreenPointToRay(Input.mousePosition);
        RaycastHit hit;

        if (Physics.Raycast(ray, out hit))
        {
            PlantManager.PlantSeedAtPoint(hit);
        }
    }