MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Refactor TapToPlace.cs to be more generic

Open StephenHodgson opened this issue 9 years ago • 2 comments

Should probably be a base class that others can extend in their own projects.

Someone should be able to put their own logic into Start, OnInputClicked, and Update by extending this base class.

Also being able to specify a parent transform to move, but keeping the script and collider on the object you wish to tap would be helpful as well.

StephenHodgson avatar Dec 16 '16 21:12 StephenHodgson

Great idea. I thought about this as well since I'm frequently editing my TapToPlace.cs file in my own projects.

I've created a pull request with changes that address your issues here.

madvlad avatar Dec 18 '16 22:12 madvlad

Thanks @madvlad!

StephenHodgson avatar Dec 19 '16 01:12 StephenHodgson