June 2017
Beginner to intermediate
336 pages
8h 44m
English
By default, the FloorInteractionManager class is inherited from MonoBehaviour. MonoBehaviour is the base class from which every Unity script derives. In the next step, implement IFocusable interface in the FloorInteractionManager class. This interface implements the methods OnFocusEnter() and OnFocusExit(), which invoke when Gaze Enter and Gaze Exit, respectively. So, the default skeleton for the FloorInteractionManager class would be as follows:
public class FloorInteractionManager : MonoBehaviour, IFocusable ...
Read now
Unlock full access