// Start is called before the first frame update void Awake() { grid = GetComponent <IceGrid>(); meshFilter = GetComponent <MeshFilter>(); meshCollider = GetComponent <MeshCollider>(); mesh = new Mesh(); }
public SessionKeepAliveThread(IceGrid.AdminSessionPrx session, int timeout) { _session = session; _timeout = timeout; _terminated = false; }
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; }
// Start is called before the first frame update protected void Awake() { Instance = this; grid = new float[gridDimensions.x, gridDimensions.y]; }