blob: 526834b1d6ab228c73ba0791ca0e29ec2092783e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#if !(UNITY_4_6 || UNITY_4_7 || UNITY_5_0)
using UnityEngine;
using UnityEngine.Networking;
namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNetwork
{
public class IsClient : Conditional
{
public override TaskStatus OnUpdate()
{
return NetworkClient.active ? TaskStatus.Success : TaskStatus.Failure;
}
}
}
#endif
|