Beispiel #1
0
    /// <summary>
    /// ボール発射
    /// </summary>
    public void InitBall()
    {
        currentBall = Util.InstantiateComponent <BallComponent>(this.prefabBall, this.parentBall);
        currentBall.Init(this.CollisionEnter);

        ballList.AddLast(currentBall);
    }
    /// <summary>
    /// ボール発射
    /// </summary>
    public void InitBall()
    {
        BallComponent ball = Util.InstantiateComponent <BallComponent>(this.prefabBall, this.parentBall);

        ball.Init(this);
    }