Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - NeilM

Pages: [1]
1
TNet 3 Support / TNet 3 Tutorials
« on: February 04, 2016, 05:13:05 PM »
Hi, I'm the new guy here at Tasharen and over the past little while I've been writing tutorials for the latest version of TNet.

I would be interested in any feedback that you guys might have on the existing ones and if you have any tutorials you would like to see, please let me know.

Overview

Examples Overview

In-Depth

Example AutoJoin
Example AutoSync
0. Menu
1. RFCs
2. Object Creation
3. Frequent Packets
4. Chat
5. Movement
6. Multiple Channels

Other Tutorials

Instantiating Objects With Parameters
Synchronizing and Saving Player Data
Custom Channel Data
Using the DataNode structure
Executing Runtime C# Code
Runtime C# Behaviours
Worker Thread class -- offloading the processing onto other CPU cores the easy way

Beginner's Video Tutorial: https://www.youtube.com/watch?v=7oBhEwAHU5w
Class Documentation: http://www.tasharen.com/tnet/docs/

Frequently Asked

Channel Discovery

2
NGUI 3 Support / Events not bubbling up properly
« on: December 08, 2014, 11:16:55 AM »
I'm having troubles getting a widget to receive click events and I was wondering if anyone could help out.

I have one full screen widget with a UIEventTrigger script on it.  The On Drag Out calls a function where I process swipes left and right.
Behind that, I have a Camera to my 3D scene.  That camera has a UICamera script on it set to 3D UI and Event Mask of "Player".
Inside the 3D scene, I have a gameobject with a layer set to "Player".  It has a UIEventTrigger script on it, that reacts to OnClick events.

Both the swipes and the clicks work well in isolation, but when I try to use the two together, the drag code appears to be eating the click events.  Is there any way I can get the click events to pass down to the lower camera?

Pages: [1]