Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Awake()
 {
     grid         = GetComponent <IceGrid>();
     meshFilter   = GetComponent <MeshFilter>();
     meshCollider = GetComponent <MeshCollider>();
     mesh         = new Mesh();
 }
Ejemplo n.º 2
0
 public SessionKeepAliveThread(IceGrid.AdminSessionPrx session, int timeout)
 {
     _session = session;
     _timeout = timeout;
     _terminated = false;
 }
Ejemplo n.º 3
0
 LocatorI(LookupPrx lookup, Ice.Properties properties, string instanceName, IceGrid.LocatorPrx voidLocator)
 {
     _lookup = lookup;
     _timeout = properties.getPropertyAsIntWithDefault("IceGridDiscovery.Timeout", 300);
     _retryCount = properties.getPropertyAsIntWithDefault("IceGridDiscovery.RetryCount", 3);
     _retryDelay = properties.getPropertyAsIntWithDefault("IceGridDiscovery.RetryDelay", 2000);
     _timer = IceInternal.Util.getInstance(lookup.ice_getCommunicator()).timer();
     _instanceName = instanceName;
     _warned = false;
     _locator = lookup.ice_getCommunicator().getDefaultLocator();
     _voidLocator = voidLocator;
     _pendingRetryCount = 0;
 }
Ejemplo n.º 4
0
 // Start is called before the first frame update
 protected void Awake()
 {
     Instance = this;
     grid     = new float[gridDimensions.x, gridDimensions.y];
 }