Exemplo n.º 1
0
 internal void OnBakeCompleted()
 {
     // We cache the data of last bake completed.
     cachedTransform   = gameObject.transform.worldToLocalMatrix;
     cachedParameters  = parameters;
     mightNeedRebaking = false;
 }
Exemplo n.º 2
0
 public bool IsEquivalent(ProbeVolumeArtistParameters other)
 {
     return(other.size == size &&
            other.maxSubdivisionMultiplier == maxSubdivisionMultiplier &&
            other.minSubdivisionMultiplier == minSubdivisionMultiplier);
 }