예제 #1
0
    public void createPlayer()
    {
        // プレイヤを生成する。
        mPlayerGenerator = GameObject.Find("PlayerGenerator").GetComponent <PlayerGenerator>();
        PlayerController player = mPlayerGenerator.Create();

        //
        mRippleGenerator    = GameObject.Find("RippleGenerator").GetComponent <RippleGenerator>();
        player.mRippleShoot = mRippleGenerator.Create();
    }