コード例 #1
0
 // Start is called before the first frame update
 void Awake()
 {
     grid         = GetComponent <IceGrid>();
     meshFilter   = GetComponent <MeshFilter>();
     meshCollider = GetComponent <MeshCollider>();
     mesh         = new Mesh();
 }
コード例 #2
0
ファイル: AllTests.cs プロジェクト: bholl/zeroc-ice
 public SessionKeepAliveThread(IceGrid.AdminSessionPrx session, int timeout)
 {
     _session = session;
     _timeout = timeout;
     _terminated = false;
 }
コード例 #3
0
ファイル: DiscoveryPluginI.cs プロジェクト: pedia/zeroc-ice
 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;
 }
コード例 #4
0
 // Start is called before the first frame update
 protected void Awake()
 {
     Instance = this;
     grid     = new float[gridDimensions.x, gridDimensions.y];
 }