コード例 #1
0
ファイル: VRoomRotator.cs プロジェクト: BernOC/_Scripts
    void Awake()
    {
        vRoom = transform;

        player                 = GameObject.FindGameObjectWithTag("Player").transform;
        playerMotorScript      = player.GetComponent <PlayerMotorOld>();
        playerControllerScript = player.GetComponent <PlayerControllerOld>();
    }
コード例 #2
0
    // Start is called before the first frame update
    void Start()
    {
        instance = this;

        gameOver = false;

        playerLag = 0.0001f;

        startPos = ground.transform.position;
    }