Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     cameraRayCaster = GetComponent <CameraRaycaster>();
     if (cameraRayCaster != null)
     {
         cameraRayCaster.notifyLayerChangeObservers += OnLayerChanged;
     }
 }
 // Use this for initialization
 void Start()
 {
     cameraRaycaster = GetComponent <CameraRaycaster>();
     cameraRaycaster.notifyLayerChangeObservers += OnLayerChanged; // registering
 }
Ejemplo n.º 3
0
 void Awake()
 {
     cameraRaycaster = GetComponent <CameraRaycaster>();
     cameraRaycaster.layerChangeObservers += OnDelegateCalled; //registering
 }
 void Awake()
 {
     cameraRaycaster = GetComponent <CameraRaycaster>();
 }
Ejemplo n.º 5
0
 // Use this for initialization
 void Awake()
 {
     cameraRaycaster = GetComponent <CameraRaycaster>();
     //cameraRaycaster.layerChangeObservers += SomeHandlingFunction;
 }
Ejemplo n.º 6
0
 // Use this for initialization
 void Start()
 {
     CameraRaycaster = GetComponent <CameraRaycaster>();
     CameraRaycaster.notifyLayerChangeObservers += OnLayerChange;
 }