Exemplo 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
 }
Exemplo n.º 3
0
 void Awake()
 {
     cameraRaycaster = GetComponent <CameraRaycaster>();
     cameraRaycaster.layerChangeObservers += OnDelegateCalled; //registering
 }
 void Awake()
 {
     cameraRaycaster = GetComponent <CameraRaycaster>();
 }
Exemplo n.º 5
0
 // Use this for initialization
 void Awake()
 {
     cameraRaycaster = GetComponent <CameraRaycaster>();
     //cameraRaycaster.layerChangeObservers += SomeHandlingFunction;
 }
Exemplo n.º 6
0
 // Use this for initialization
 void Start()
 {
     CameraRaycaster = GetComponent <CameraRaycaster>();
     CameraRaycaster.notifyLayerChangeObservers += OnLayerChange;
 }