When you create a new elements, how do you set values automatically via script? I am planing of adding values to each Rotational Speed. If I find out how to for Rotation Speed I can also have set values for the rest.
[15988-bildschirmfoto+2013-09-30+um+21.40.39.png|15988]
Here is the script.
[System.Serializable]
public class rotationalSpeed {
[Range (-100, 100)]
public float Surface;
[Range (-100, 100)]
public float Cloud1;
[Range (-100, 100)]
public float Cloud2;
[Range (-100, 100)]
public float Cloud3;
[Range (-100, 100)]
public float Ring1;
[Range (-100, 100)]
public float Ring2;
[Range (-100, 100)]
public float Ring3;
}
public rotationalSpeed rotationalSpeed;