コード例 #1
0
    public static void MakeCloud(RainColor rainColor, float[,] area, int xOffset, int yOffset)
    {
        Cloud cloud = Instantiate(t.cloudPrefab);

        cloud.CloudStartup(rainColor, area, xOffset, yOffset, CloudDuration + Random.Range(0, CloudDurationVariation));
        t.clouds.Add(cloud);
    }