Difference between revisions of "Unity Sandbox"
From Wikicliki
(Created page with "* Unity 5 Tutorials - https://www.youtube.com/watch?v=G9BdFZ2MCXc&list=PLZ1b66Z1KFKik2g8D4wrmYj4yein4rCk8") |
|||
Line 1: | Line 1: | ||
− | + | ||
+ | == Create An Augmented Reality App Webinar by Gen Infiniti Academy, 13 Aug 2020, 7.30pm-9.30pm == | ||
+ | * Change build settings to Android/mobile | ||
+ | * Delete Main camera and Directional Light | ||
+ | * Window > Package Manager > AR Foundation > Install | ||
+ | * Window > Package Manager > ARCore XD Plugin > Install | ||
+ | * Window > Package Manager > ARkit Xr Plugin > Install | ||
+ | * Rightclick on Hierarchy Window > XR > AR Session origin | ||
+ | * Double click the tiny AR Session origin > look under inspector > tag: MainCamera | ||
+ | * Rightclick on Hierarchy Window > XR > AR Session (coordinates the real world) | ||
+ | * Rightclick on Hierarchy Window > XR > AR Default Plane | ||
+ | * Click on AR Session Origin in Hierarchy > Look in Inspector > Add Component > AR Raycast Manager (checks for floor) | ||
+ | * Click on AR Session Origin in Hierarchy > Look in Inspector > Add Component > AR Plane Manager (allows you to tag and project things) | ||
+ | * Now we want to add a plane prefab, first we create a folder in project called “prefabs” | ||
+ | * Drag the AR Default Plane into the Prefabs folder | ||
+ | * Drag the blue AR Default Prefab into inspector slot for AR Session Origin > plane manager > plane prefab | ||
+ | * Create in project a scripts folder | ||
+ | * Create a new C# script “PlaceOnPlane” | ||
+ | * Drag and drop this script into AR session origin | ||
+ | * Download free asset butterfly | ||
+ | * Double click on FBX | ||
+ | * Double click on Materials | ||
+ | * Select second sphere (blue metallic) butterfly_Albedo select the material in emissions | ||
+ | * Assets > Butterfly Animated > Prefab > left click on butterfly and drag it inside Place On Place Model (inside AR Session Origin) | ||
+ | * Project Settings > Player > Other setting > Identification > Minimum API Level > Set to Android 7.1 | ||
+ | * Build and Run |
Revision as of 13:24, 13 August 2020
Create An Augmented Reality App Webinar by Gen Infiniti Academy, 13 Aug 2020, 7.30pm-9.30pm
- Change build settings to Android/mobile
- Delete Main camera and Directional Light
- Window > Package Manager > AR Foundation > Install
- Window > Package Manager > ARCore XD Plugin > Install
- Window > Package Manager > ARkit Xr Plugin > Install
- Rightclick on Hierarchy Window > XR > AR Session origin
- Double click the tiny AR Session origin > look under inspector > tag: MainCamera
- Rightclick on Hierarchy Window > XR > AR Session (coordinates the real world)
- Rightclick on Hierarchy Window > XR > AR Default Plane
- Click on AR Session Origin in Hierarchy > Look in Inspector > Add Component > AR Raycast Manager (checks for floor)
- Click on AR Session Origin in Hierarchy > Look in Inspector > Add Component > AR Plane Manager (allows you to tag and project things)
- Now we want to add a plane prefab, first we create a folder in project called “prefabs”
- Drag the AR Default Plane into the Prefabs folder
- Drag the blue AR Default Prefab into inspector slot for AR Session Origin > plane manager > plane prefab
- Create in project a scripts folder
- Create a new C# script “PlaceOnPlane”
- Drag and drop this script into AR session origin
- Download free asset butterfly
- Double click on FBX
- Double click on Materials
- Select second sphere (blue metallic) butterfly_Albedo select the material in emissions
- Assets > Butterfly Animated > Prefab > left click on butterfly and drag it inside Place On Place Model (inside AR Session Origin)
- Project Settings > Player > Other setting > Identification > Minimum API Level > Set to Android 7.1
- Build and Run