Custom Maps & Logic
  • Custom Map Tutorial
    • Custom Map Introduction
    • Your first map
    • Map Navigation
    • Object Selection
    • Object Positioning
    • Object Attributes
    • Shortcuts and Macros
    • Editor Settings
    • Built-in Components Common Errors
    • Map Performance
    • Custom Assets
      • Your first Asset Bundle
      • Asset Bundles in Map Editor
      • Asset Bundles in Game
      • Adding to Asset Bundles
      • Asset Bundle naming
  • Custom Logic Tutorial
    • Custom Logic Introduction
    • Your first script
    • Variables
    • Types
    • Variable Inspector
    • Expressions
    • Conditionals
    • Loops
    • Functions
    • Coroutines
    • Classes
    • Static Classes
    • Components
    • Extensions
    • Cutscenes
    • Static Objects
    • Networking
    • Commenting
  • Reference
    • Static Classes
      • Game
      • Network
      • Map
      • UI
      • Time
      • Convert
      • String
      • Input
      • Math
      • Random
      • Cutscene
      • Camera
      • RoomData
      • PersistentData
      • Json
      • Physics
    • Objects
      • Component
      • Object
      • Character
      • Human
      • Titan
      • Shifter
      • MapObject
      • Transform
      • Player
      • NetworkView
      • Color
      • Vector3
      • Quaternion
      • Dict
      • List
      • Range
      • LineCastHitResult
      • MapTargetable
      • Random
    • Callbacks
      • Main
      • Components
  • Examples
    • Gamemodes
      • Survive
      • Waves
      • Endless
      • Racing
      • Blade PVP
      • Thunderspear PVP
      • Titan Explode
      • Cranked
      • More Examples
    • Components
      • SupplyStation
      • Daylight
      • PointLight
      • Rigidbody
      • NavMeshObstacle
      • Cannon
      • Dummy
      • Wagon
      • Tag
      • KillRegion
      • DamageRegion
      • MovePingPong
      • RacingCheckpointRegion
      • RacingFinishRegion
      • TeleportRegion
      • Animal
      • SignalMover
      • SignalSender
      • More Examples
Powered by GitBook
On this page
  1. Custom Map Tutorial
  2. Custom Assets

Your first Asset Bundle

PreviousCustom AssetsNextAsset Bundles in Map Editor

Last updated 9 months ago

First, install Unity 2023.1.17f1 using the Unity Hub:

Next, download the AssetBundleExample Unity project: . This is a blank Unity project that contains an example cube and sphere that are assigned and built to an asset bundle.

In Unity Hub, add the AssetBundleExample project and open it using Unity 2023.1.17f1.

Right click on the Assets folder, and click Build AssetBundles. This will create a file called "example" in the Assets/Build folder. You can rename this file to whatever you like. This "example" file is your custom asset bundle, and is now ready to be added to the map editor by moving it to the Documents/Aottg2/CustomAssets folder. To move these files, open the folder in windows explorer by right-clicking the Build folder and selecting Show in Explorer.

NOTE: There will be other files such as Build or example.manifest, these should be ignored.

https://unity.com/download
https://github.com/AoTTG-2/AssetBundleExample