public void ButtonPhotoSelect() { if (Application.isEditor) { OnGetPhoto(Resources.Load <Texture2D>("test_stick_figure")); } else { ImportPhotoHandler.GetPhoto(OnGetPhoto, OnGetPhotoFail); } }
public void ButtonPhoto() { ImportPhotoHandler.GetPhoto(OnGetPhoto, OnGetPhotoFail); }