예제 #1
0
    // Use this for initialization
    void Start()
    {
        bubble         = transform.Find("Bubble").gameObject;
        bubbleProperty = bubble.GetComponent <BubbleProperty>();

        bubbleExplosion    = transform.Find("BubbleExplosion").gameObject;
        bubbleExplosionEff = bubbleExplosion.GetComponent <ParticleSystem>();
        bubbleExpolision   = bubbleExplosion.GetComponent <BubbleExpolisionEff>();
    }
예제 #2
0
    // Use this for initialization
    void Start()
    {
        rb             = GetComponent <Rigidbody>();
        property       = GetComponent <PlayerStatus>();
        bubbleStartObj = transform.Find("BubbleStartObj").gameObject;
        animator       = GetComponent <Animator>();

        bubbleProperty           = bubbleSet.transform.Find("Bubble").GetComponent <BubbleProperty>();
        playerMoveableBubbleSize = bubbleProperty.MaxSize;
    }
예제 #3
0
 // Use this for initialization
 void Start()
 {
     property = GetComponent <BubbleProperty>();
 }