![]()
Contacts List is plugin for unity3d to view mobile contacts information.
It works for Android and iOS
Quick Start
Create new scene and add ContactsListGUI to any gameObject in the scene, the add the scene to build settings and make build on Android or iOS , you will find this build on mobile showing you all your contacts name , all phones number and photo.
Slow Start
So how this is done and what you have to know to make your own GUI of managing your contacts.
All magic come from Contacts class, you can check ContactsListGUI how it is using this class . before any thing you have to call Contacts.LoadContactList(); this will start loading (in seperate thread) all information to this class from your phones including photo as well.
Note for iOS after build to xcode you may need to add addressbook.framework to the project
Homework
go to all property of “Contact c” in previous code and print it to Console
Any Question ?
if you have any issue please visit
https://github.com/aliessmael/Unity-Contacts-List