Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Holiday.Next(private)に引っ越しました。引っ越し先で問題なければ4月末ぐらいに削除します。

License

Notifications You must be signed in to change notification settings

xr-campus-dev/Extreal.SampleApp.Holiday

 
 

Repository files navigation

Extreal.SampleApp.Holiday

How to play

  • This application uses Vivox for voice and text chat. Create an account on Vivox Developer Portal and create an application to connect to from this application.

  • Clone the repository.

  • Before opening in the Unity Editor, Create the following class in the Assets/Holiday/App/AssetWorkflow/Custom directory.

    namespace Extreal.SampleApp.Holiday.App.AssetWorkflow.Custom
    {
        public static class SecretVariables
        {
            public static string ServerAddress => "test";
            public static string CryptAssetIv => "initialization-vector";
            public static string CryptAssetPassword => "password";
        }
    }
  • Open the cloned directory in the Unity editor.

    • If "Link your Unity project" appears, close it without setting it.
  • Refer to the following page to import Mixamo model files into your project.

    • Mixamoの無料3DモデルをUnityにインポートする方法
      • Please implement from "3Dモデルを入手する" to "Materialの最適化".
      • No animation required.
      • Please import "Amy" and "Michelle" from Mixamo into the following path.
        • /Assets/Mixamo/Amy
        • /Assets/Mixamo/Michelle
      • Rename FBX files to their respective avatar names (e.g. Amy.fbx).
  • Create avatar prefabs into the /Assets/Holiday/App/Avatars directory.

    • Create a new scene.
    • Drag and drop Amy.fbxinto the scene above and unpack completely.
    • Remove the Animator component and rename "Amy" to "AvatarAmy".
    • Attach the AvatarProvider component and select AmyAvatar as Avatar.
    • Drag and drop the AvatarAmy GameObject into the /Assets/Holiday/App/Avatars directory to create prefab.
    • Remove the scene you just created.
    • Add the AvatarAmy asset to the default group of Addressables with the name AvatarAmy.
    • Create an avatar prefab about Michelle in the same way as above.
  • Create a ChatConfig from the Create Assets menu in the /Assets/Holiday/App/Config directory and set the Vivox access information in the inspector.

    • Path in the Create Assets menu: Holiday > ChatConfig
    • Add it to the default group of Addressables with the name ChatConfig.
  • Create a MultiplayConfig from the Create Assets menu in the /Assets/Holiday/App/Config directory. Default values are set so there is no need to set them in the inspector.

    • Path in the Create Assets menu: Holiday > MultiplayConfig
    • Add it to the default group of Addressables with the name MultiplayConfig.
  • Open multiple Unity editors using ParrelSync.. ParrelSync is already installed in this project.

  • Run a multiplayer server.

    • Run the following scene: /Assets/Holiday.MultiplayServer/MultilayServer
  • Run the application.

    • Run the following scene: /Assets/Holiday/App/App
  • Enjoy playing!

About

Holiday.Next(private)に引っ越しました。引っ越し先で問題なければ4月末ぐらいに削除します。

Resources

License

Stars

Watchers

Forks

Languages

  • C# 61.5%
  • ShaderLab 32.2%
  • HLSL 5.0%
  • Other 1.3%