Exemple #1
0
    //Initialization
    void Start()
    {
        maxSmallBubbleCount = (int)Random.Range(20, 30);
        smallBubbleCount    = 0;

        smallBubbleBehaviour = smallBubble.GetComponent <AQUAS_SmallBubbleBehaviour>();
    }
    //Initialization
    void Start()
    {
        maxSmallBubbleCount = (int)Random.Range(20, 30);
        smallBubbleCount    = 0;

        smallBubbleBehaviour = smallBubble.GetComponent <AQUAS_SmallBubbleBehaviour>();
        transform.rotation   = Quaternion.Euler(0, Random.Range(0, 360), 0);
    }
 private void Start()
 {
     this.maxSmallBubbleCount  = Random.Range(20, 30);
     this.smallBubbleCount     = 0;
     this.smallBubbleBehaviour = (AQUAS_SmallBubbleBehaviour)this.smallBubble.GetComponent <AQUAS_SmallBubbleBehaviour>();
 }