Inheritance: BaseRainScript
コード例 #1
0
        private void Start()
        {
            this.originalRotation = ((Component)this).get_transform().get_localRotation();
            RainScript rainScript = this.RainScript;
            float      num1       = 0.5f;

            this.RainSlider.set_value(num1);
            double num2 = (double)num1;

            rainScript.RainIntensity   = (float)num2;
            this.RainScript.EnableWind = true;
        }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     m_RainGO     = this.gameObject;
     m_rainScript = m_RainGO.GetComponent <DigitalRuby.RainMaker.RainScript>();
 }